Viewpoint Forums
Viewpoint Forums
Viewpoint Tips, Tricks & Hacks
VETScript Samples|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Hi there,
I made some tiny demos for interactivity with VETScript. Maybe you could give me some feedback... Sorry for the code, its not documented at all, but i'll fix this in the next days. Cheers, Frank simple_car_drive.zip (90 KB, 127 downloads) |
||
|
|
Member |
|
|||
|
|
Member |
@ viewpoint:
in the enliven-scene-view you show bounding boxes for each selected object. Is there a property for this, which I could use in VETScript??? Something like "my3dObj.boundingBox" Or is there any way to get access to the vertex data from the 3d-models in the scene with VETScript??? Like "my3dObj.vertexes[i]" I hope you'll answer fast, i need this allmost yesterday... Thanks in advance... Frank |
|||
|
|
Member |
Yes you can do that, see attached example. Nice job on the collision detection
dynamic_cube_morph.zip (9 KB, 97 downloads) targeting vertices with vetscript |
|||
|
|
Member |
Thanks, thats what i needed...
Is there any way to contol the uv-coords too? |
|||
|
|
Member |
hi there,
i try to write a loop that creates bounding objects automatically. The problem is, i don't know how to get the geometry name for a instance object... Could you help me out? |
|||
|
|
Member |
I think this should work:
var theName = vmp.GetProperty("MTSInstance.someInstance.someGeometry","name","mts_str"); |
|||
|
|
Member |
I dont get it
var myObjectList = MTSInstances.elements;
var geom="";
for(obj in myObjectList){
geom = eval("MTSInstances."+obj+".MTSGeometry.name");
...
}for VETScript!!! |
|||
|
|
Member |
Oh sorry. Yes, that was javascript.
In VETSCript, try this: var theName = MTSInstances.myInstance.myGeometry.name; This will also work: var theName = MTSInstance.myInstance.myGeometry.name; |
|||
|
|
Member |
Magnificent! I downloaded all three samples and was ecstatic! These further reveal the potential that VET has Internet 3d interactivity. I'm really grateful for your interest, and participation in Viewpoint development. The collision sample is to die for
|
|||
|
|
Member |
Hi pensator77,
I am very much amazed to see this and I would like to learn this : http://viewpoint.infopop.cc/eve/forums/a/ga/ul/57610716...h_boundigspheres.zip Can you please provide me the .pvp(Enliven Pro) source file and obligue. Thanks, Raj |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

