WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Cal3D texture issue from Max (https://forum.worldviz.com/showthread.php?t=1676)

shivanangel 10-14-2008 12:49 PM

Cal3D texture issue from Max
 
Hello everyone,

First off, I just wanted to say thank you for all the troubleshooting work
you have done for myself and probably everyone on this forum, without
you guys things would probably be impossible.

Now to my problem (this time).

I have set up and rigged a pterosaur inside of 3dsMax 2008.
I have modelled, texured, rigged and exported out the model
using the CAL3D guide you recommend.

The model is fine, the animation worked flawlessly, the only problem I
am having is with the material.

At first I had the texture as a bmp file at 2048 resolution. This
only produced a gray material in vizard.

I then reduced the size to 512x512 and tried png, bmp, and tga.

However, the issue I am running into now is that the object appears textured, however it is not utilizing the UVs I specified for my object.

Here is a link to an image of my model in max:
http://i200.photobucket.com/albums/a...s/MaxModel.jpg

My UV layout:
http://i200.photobucket.com/albums/a...lecakes/UV.jpg

The outcome in Vizard:
http://i200.photobucket.com/albums/a.../vizProb_1.jpg
Any recommendations?

I am trying to put together an interactive dinosaur demo for
a CAVE system that is being launched later this month and
all that is needed is to get these materials properly in place.

Thanks,
George L.

Rowan University

shivanangel 10-14-2008 02:28 PM

On the car ride home I was visualizing the problem.

I figured out that if you flip the texture vertically after you do all the
exporting the UVs will match up.

For some reason the exporter flips the UV vertically.

Anyone who has this problem, you now know what to do.

farshizzo 10-14-2008 02:31 PM

Try adding the following line to the top of the avatar cfg file:
Code:

flip_texture = 1
This will flip the UV coordinates of the subsequent mesh files.

shivanangel 10-15-2008 08:25 AM

Thanks,

That will make it so I don't break my textures moving from Max to Vizard.

~George

shivanangel 10-15-2008 05:26 PM

Are there any additional 'hidden' commands that can be utilized with the
cfg file? I can't seem to find any documentation on it, even on the CAL3d
website.

Is there a way to flip the model around? For some reason the Cal3D exporter
flips my model to face backwards.

Thanks,
George

farshizzo 10-17-2008 12:17 PM

You can use the rotate option to specify a quaternion offset for the avatar. If you wanted to flip the avatar around 180 degrees about the Y axis then you would add the following to the top of the cfg file:
Code:

rotate = 0 1 0 0


All times are GMT -7. The time now is 09:52 PM.

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