lfnetwork.com mark read register faq members calendar

Thread: Importing an obj file into g-max?
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 10-26-2008, 09:36 PM   #1
Canderis
Mercenary
 
Canderis's Avatar
 
Join Date: Jun 2008
Location: Unknown
Posts: 2,503
Current Game: Skyrim
Veteran Modder Helpful! 
Importing an obj file into g-max?

How do you import an obj file into gmax with 'renx_obj_tools'?




Canderis is offline   you may: quote & reply,
Old 10-26-2008, 10:44 PM   #2
Ferc Kast
Modder
 
Ferc Kast's Avatar
 
Join Date: Jan 2007
Location: Tython
Posts: 1,586
Current Game: SWTOR
Helpful! Forum Veteran Contest winner - Fan Fiction Veteran Modder 
I dunno about 'renx_obj_tools'. But, this post should help you.

Ferc Kast is offline   you may: quote & reply,
Old 10-26-2008, 11:15 PM   #3
Canderis
Mercenary
 
Canderis's Avatar
 
Join Date: Jun 2008
Location: Unknown
Posts: 2,503
Current Game: Skyrim
Veteran Modder Helpful! 
That helped me but when i imported my model it messed it all up




Canderis is offline   you may: quote & reply,
Old 10-27-2008, 01:43 AM   #4
DarthParametric
I bent my Wookiee
 
DarthParametric's Avatar
 
Join Date: Apr 2004
Location: Oz
Posts: 2,668
Forum Veteran Helpful! 
Define "messed it all up". Usually imported OBJs will end up being enormous scale-wise and often inverted (i.e. upside down). A clearer description and perhaps some pics of your problem is required.
DarthParametric is offline   you may: quote & reply,
Old 10-27-2008, 07:32 AM   #5
Canderis
Mercenary
 
Canderis's Avatar
 
Join Date: Jun 2008
Location: Unknown
Posts: 2,503
Current Game: Skyrim
Veteran Modder Helpful! 
In the program i modeled it
http://i313.photobucket.com/albums/l...nsflagship.jpg
In G-max
http://i313.photobucket.com/albums/l...anderis/ug.jpg




Canderis is offline   you may: quote & reply,
Old 10-27-2008, 07:37 AM   #6
DarthParametric
I bent my Wookiee
 
DarthParametric's Avatar
 
Join Date: Apr 2004
Location: Oz
Posts: 2,668
Forum Veteran Helpful! 
Very difficult to make much out in those pics, but my guess is none (or most) of the polys in your original Sketchup were not connected. You can clearly see overlapping polys in the ramp section of the Sketchup pic.
DarthParametric is offline   you may: quote & reply,
Old 10-27-2008, 07:40 AM   #7
Canderis
Mercenary
 
Canderis's Avatar
 
Join Date: Jun 2008
Location: Unknown
Posts: 2,503
Current Game: Skyrim
Veteran Modder Helpful! 
yes is that a problem?




Canderis is offline   you may: quote & reply,
Old 10-27-2008, 08:08 AM   #8
DarthParametric
I bent my Wookiee
 
DarthParametric's Avatar
 
Join Date: Apr 2004
Location: Oz
Posts: 2,668
Forum Veteran Helpful! 
Apparently so. Could be the way the export plugin works - it might not like unconnected polys. Upload the OBJ here - http://imagehost.org/ - and post the link. I'll see if it's any different in another app.
DarthParametric is offline   you may: quote & reply,
Old 10-27-2008, 03:52 PM   #9
Canderis
Mercenary
 
Canderis's Avatar
 
Join Date: Jun 2008
Location: Unknown
Posts: 2,503
Current Game: Skyrim
Veteran Modder Helpful! 
Check your pm




Canderis is offline   you may: quote & reply,
Old 10-28-2008, 12:47 AM   #10
DarthParametric
I bent my Wookiee
 
DarthParametric's Avatar
 
Join Date: Apr 2004
Location: Oz
Posts: 2,668
Forum Veteran Helpful! 
OK so I imported it into C4D and the OBJ export looks like it worked fine. However, a quick look in polygon mode revealed two problems:



The first is that your normals are all over the place and mostly reversed. In that pic you can see on the bottom, all the polys selected. The red polys are normals in the right direction (i.e. the front face), the purple polys are those with reversed normals (i.e. the back face). I'm guessing GMax doesn't deal too well with normals all over the shop like that. The other thing you can see is a lot of n-gons - polys with more than 4 sides. Most newer apps handle those fine, but I doubt that GMax can. You'll want to convert those to quads or tris before exporting. N-gons are just a cosmetic thing anyway - all they do is hide triangulation.

So my advice would be to fix your normals and remove any n-gons. I'd also advise removing any overlapping polys as well, as that will possibly cause some issue down the line - if not with the model itself then at least with texture artefacts in game.
DarthParametric is offline   you may: quote & reply,
Old 10-28-2008, 02:10 AM   #11
svösh
 
svösh's Avatar
 
Join Date: Jan 2003
Location: Montreal, Canada
Posts: 733
Veteran Modder Helpful! Contest winner - Modding 
It pretty common to have flipped normals from an .obj in max, just select the inverted normals and hit flip normals under poly sub editing. There's also a button Unify Normals is found on the Surface Properties rollout while in editable mesh. Change to element sub object mode select your entire model and hit Unify.

Providing gmax has Unify I haven't used it in years, either way i'm sure it still has the flip normals option.

If sketch up can export as .3ds I would look for the .3ds importer for Gmax that may help preventing flipped normals

.3ds importer for Gmax --> called Autodesk 3DS Importer v1.1 http://salshdresearch.tripod.com/shdrc/id11.html

good luck

svösh


pixel, poly builder
svösh's kotor mods

Last edited by svösh; 10-28-2008 at 02:37 AM.
svösh is offline   you may: quote & reply,
Old 10-28-2008, 02:52 AM   #12
DarthParametric
I bent my Wookiee
 
DarthParametric's Avatar
 
Join Date: Apr 2004
Location: Oz
Posts: 2,668
Forum Veteran Helpful! 
Quote:
Originally Posted by svösh View Post
It pretty common to have flipped normals from an .obj in max
I can export OBJ files from C4D and the normals are perfectly fine in GMax. I suspect the problem is his modelling technique.

Quote:
Originally Posted by svösh View Post
If sketch up can export as .3ds I would look for the .3ds importer for Gmax that may help preventing flipped normals
The free version of Sketchup doesn't support normal export formats, hence the need to use the OBJ script. However, it does export KMZ files for Google Earth which is basically just a zip file that contains the model in the Collada DAE format. This can be converted by importing it to Blender (free 3D app) and then exporting it as a 3DS. Follow the instructions here - http://forums.devshed.com/showpost.p...07&postcount=4 By the way, GMax 1.2 has native 3DS support, so no need for a plugin/script on that end.
DarthParametric is offline   you may: quote & reply,
Old 10-28-2008, 07:30 AM   #13
Canderis
Mercenary
 
Canderis's Avatar
 
Join Date: Jun 2008
Location: Unknown
Posts: 2,503
Current Game: Skyrim
Veteran Modder Helpful! 
So i need to send the file to svosh?
and merg the pollys?




Canderis is offline   you may: quote & reply,
Old 10-28-2008, 09:17 AM   #14
DarthParametric
I bent my Wookiee
 
DarthParametric's Avatar
 
Join Date: Apr 2004
Location: Oz
Posts: 2,668
Forum Veteran Helpful! 
You can try exporting a 3DS yourself via the method I posted above. I suspect that won't make any difference, but worth a try at least.
DarthParametric is offline   you may: quote & reply,
Old 10-28-2008, 04:12 PM   #15
Canderis
Mercenary
 
Canderis's Avatar
 
Join Date: Jun 2008
Location: Unknown
Posts: 2,503
Current Game: Skyrim
Veteran Modder Helpful! 
I fliped the sides but i still cant get it properly imported into g-max




Canderis is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > Importing an obj file into g-max?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:07 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.