WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   .osg/.ive import - missing geometry & some textures (https://forum.worldviz.com/showthread.php?t=2242)

jde 08-31-2009 02:24 PM

.osg/.ive import - missing geometry & some textures
 
Hi folks,

I have seen some similar posts regarding missing/damaged textures but nothing on missing geometry. This might be a problem with my 3DS Max settings but I hope it will be of interest to people who work with both programs...

I created a virtual maze using 3DS. Strangely, the outer walls are only visible when I rotate the maze in the 3DS viewport (i.e. they are visible only when the view is such that those walls are not occluding other walls/objects).

http://i883.photobucket.com/albums/a...osgproblem.jpg

I then baked the lighting and exported to .ive using these settings...

http://i883.photobucket.com/albums/a...rtsettings.jpg

But when I import the .ive file into Vizard (bottom of picture 1), I'm missing the same walls that only show up from certain angles in 3DS Max.

Any idea why my geometry isn't getting included in the .ive or why it only shows up from certain angles in MAX? Also, my textures are pretty messed up on some of the objects when I open the .ive in Vizard -- the objects look broken in places and the textures are really strange.

Thanks,
Jon

Veleno 08-31-2009 06:10 PM

Hi Jon,
By default in most programs, polygons are 1 sided. This is called backface culling an optimization feature that allows the GPU to do basically half of the work then if it drew everything all the time.

To get both sides to show up in vizard, check "2-sided" in the material. To show the backside in 3d studio max, rightclick on an object, select properties, then uncheck backface cull.

If you plan to have any sort of lighting on the object, consider adding a shell modifier to make it solid.

What specifically is happening with the textures? Is it a tiling change? Can you post some side-by-side screenshots showing how the texture looks in max vs vizard?

One thing to check is to make sure gamma control is turned off in Max's preferences when exporting since it currently causes the colors to become corrupted during exports.

jde 09-03-2009 08:24 AM

Hi Veleno,

Thanks!!

Turning off backface culling worked like a charm. I believe I also needed to check "Force 2-sided" in the rendering options to make sure that the walls show up when rendering the image.

Should I add the same shell modifier to all of the objects in the maze? (i.e. just highlight all objects and use the same shell modifier settings?)

I'll post some screenshots of the texture problems I'm having soon...

Thanks,
Jon

Veleno 09-04-2009 03:18 PM

Hi Jon -

You should only need to do that on thin objects that you need to see both side of. For something like a poster on a wall for example, you're never going to see the back of it, so it's safe to keep it one sided. Any object that is already "solid" won't need it.

Just mess around and test out different situations a bit, and you'll figure out when it's useful and when it's wasting polygons.


All times are GMT -7. The time now is 05:34 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC