WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-31-2009, 11:26 AM
Moh200jo Moh200jo is offline
Member
 
Join Date: Feb 2009
Posts: 99
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,
Reply With Quote
  #2  
Old 03-31-2009, 11:31 AM
Moh200jo Moh200jo is offline
Member
 
Join Date: Feb 2009
Posts: 99
attachment1
Attached Thumbnails
Click image for larger version

Name:	cloud sky.jpg
Views:	638
Size:	155.8 KB
ID:	298  

Last edited by Moh200jo; 04-02-2009 at 03:23 AM.
Reply With Quote
  #3  
Old 03-31-2009, 11:38 AM
Moh200jo Moh200jo is offline
Member
 
Join Date: Feb 2009
Posts: 99
battlefield.zip:
Upload of file failed.

Reply With Quote
  #4  
Old 03-31-2009, 05:47 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,465
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
Reply With Quote
  #5  
Old 04-01-2009, 02:20 AM
Moh200jo Moh200jo is offline
Member
 
Join Date: Feb 2009
Posts: 99
openthreadsWin32.dll

I cannot install it
it needs this
openthreadsWin32.dll was not found.
any help to fix this?
thanks,
Reply With Quote
  #6  
Old 04-01-2009, 02:26 AM
Moh200jo Moh200jo is offline
Member
 
Join Date: Feb 2009
Posts: 99
Attachment

I have attached battlefield.wrl with this thread
Attached Files
File Type: zip battlefield.zip (196.8 KB, 465 views)
Reply With Quote
  #7  
Old 04-02-2009, 05:12 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,465
Which version of Max are you using? Did you download the OSG exporter for Max from our site?
Reply With Quote
  #8  
Old 04-03-2009, 05:07 AM
Moh200jo Moh200jo is offline
Member
 
Join Date: Feb 2009
Posts: 99
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
Reply With Quote
  #9  
Old 04-06-2009, 09:43 AM
Moh200jo Moh200jo is offline
Member
 
Join Date: Feb 2009
Posts: 99
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)
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


All times are GMT -7. The time now is 08:59 PM.


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