WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1  
Old 08-26-2009, 11:57 AM
jde jde is offline
Member
 
Join Date: Jul 2009
Location: Providence RI
Posts: 24
.3DS importing in Vizard and 3D Studio

Hello,

This is a question for anyone who imports/exports .3DS files...

I've been using some .3DS models that have been kicking around our lab for a while and I've noticed that Vizard seems to know when a .3DS file is associated with a .tga file.

For example, I might try to load "house.3DS" and Vizard will load a gray model with no texture, and provide an error message to the effect that "house.tga" needs to be in the Vizard directory. If I add "house.tga" to the Vizard directory and then hit run, the texture shows up on the object.

However, when I try to load the "house.3DS" file in 3D Studio Max, it doesn't give an error message saying that I need the .tga file. How does Vizard know that a .tga file was mapped to the object at some point, while 3D Studio doesn't? Does anyone know if .3DS files have some kind of metadata that includes textures that were previously mapped to the object (and perhaps their uv mapping)?

This is a big problem for me because I need replicate (in 3D Studio Max) an environment that I created in Vizard using a bunch of these .3DS files so that I can bake on some lighting and get complex cast shadows. So, I basically have to take a bunch of these existing .3DS files (that I did not originally create, and therefore don't have the .MAX files), arrange them in the 3DS environment with the same locations, textures, and scaling as was used in the Vizard version of the environment, and then bake some fancy lighting onto all of the objects so that they cast shadows appropriately. However, if I don't know what textures to use on the objects, it might (a) not match my Vizard version of the environment exactly, or (b) take forever to figure out what textures I actually need and mess with the uv coordinates to match the mapping that Vizard seems to use by default.

Any suggestions? (I'm also having trouble matching the scaling of the objects between the two programs).

Thanks,
Jon
Reply With Quote
  #2  
Old 08-28-2009, 03:14 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
3DS files contain material information, including texture images. So the file is probably referencing that tga file. The file might already exist in the 3ds Max directory. That might explain why it doesn't produce an error message.

Regarding scaling, Vizard uses meter units. So you might need to adjust your 3ds Max settings to use the same units.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vizard tech tip: Using the Python Imaging Library (PIL) Jeff Vizard 0 03-23-2009 11:13 AM
Vizard tech tip: Text to Speech Jeff Vizard 1 01-15-2009 10:39 PM
Vizard and Augmented Reality realvision Vizard 4 04-04-2008 10:59 AM
Vizard won't run wouters Vizard 5 02-05-2008 12:12 PM
Fall 2007 release of Vizard R3 3 D Announcements 0 10-15-2007 04:50 PM


All times are GMT -7. The time now is 03:06 PM.


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