#1
|
|||
|
|||
battlefield example
Hi,
I want to use battlefield example from 3Ds Max tutorial with vizard after exported it to WRL. I am trying to allow avatar walking on this scenes, the avatar should follow the shape of the ground. In addition, I would like to texture cloud image with the sky. Any suggestion would be really appreciated. I have attached the example. Thanks, |
#2
|
|||
|
|||
attachment1
Last edited by Moh200jo; 04-02-2009 at 03:23 AM. |
#3
|
|||
|
|||
battlefield.zip:
Upload of file failed. |
#4
|
|||
|
|||
Try using the OSG exporter and exporting to the compiled OSG format, .ive. You could export the ground as one model and the rest of the scene as another model. Then to have the avatar follow the terrain when you use vizact.walkTo for the y value use your ground model. Check out this thread to see how to do that
http://forum.worldviz.com/showthread.php?t=1587 |
#5
|
|||
|
|||
openthreadsWin32.dll
I cannot install it
it needs this openthreadsWin32.dll was not found. any help to fix this? thanks, |
#6
|
|||
|
|||
Attachment
I have attached battlefield.wrl with this thread
|
#7
|
|||
|
|||
Which version of Max are you using? Did you download the OSG exporter for Max from our site?
|
#8
|
|||
|
|||
Thanks Jeff,
I am using Max 2009. Yes I have downloaded the OSG exporter for Max from your site. May I ask here... why it is difficult to work with my own .wrl while .wrl has been used by many examples from Vizard? Regards |
#9
|
|||
|
|||
I have done it. OSG Exporter 0.9.5 shall be used for Max 2009
I could not have a control into main view that I have imported it. please see my code. HTML Code:
import viz viz.go() mainview=viz.clearcolor(viz.SKYBLUE) view1=viz.add('ground.ive') view1.setScale(5,5,5) view1.setPosition(-200,-2000,10550) avatar = viz.add('vcc_female.cfg') walkAction = vizact.walkTo([0,view1,40]) avatar.addAction(walkAction) link = viz.link(viz.MainView, view1) link.preTrans([0,-.1,-1]) mylight = viz.addLight() mylight.enable() mylight.position(0, 1, 0) mylight.spread(180) mylight.intensity(5) |
|
|