Etchy
06-27-2003, 12:59 PM
Im having a problem with a script im working at, where i can take an object in scene A and exchange it with an object from scene B..
for eksameple.. im having a scene of a street where i want cars in but they got to many vertex's, so i want to have a box in the street scene that i can change out with the car at render time..
i have tried to do it with a preRender but i get a string error cause i tryed to use merge, witch i also found out, just puts in the object at the place it have in the scene it came from, and dont inherit the x,y,z cordinats from the object its going to replace..
can somebody give me a hint how to get further.. im a little stuck.. thinking maybe i can use Xref, but can i do that in a preRender string and if so, how can i specify the file i want to get the (car) object from? I have been looking to see if i could find a script that did something in preRender put cant.. except the build in "howTo" excample but it just give a sphere more segments.. I also cant seem to find out how to have a string in a string..
Help!!!
Etchy
for eksameple.. im having a scene of a street where i want cars in but they got to many vertex's, so i want to have a box in the street scene that i can change out with the car at render time..
i have tried to do it with a preRender but i get a string error cause i tryed to use merge, witch i also found out, just puts in the object at the place it have in the scene it came from, and dont inherit the x,y,z cordinats from the object its going to replace..
can somebody give me a hint how to get further.. im a little stuck.. thinking maybe i can use Xref, but can i do that in a preRender string and if so, how can i specify the file i want to get the (car) object from? I have been looking to see if i could find a script that did something in preRender put cant.. except the build in "howTo" excample but it just give a sphere more segments.. I also cant seem to find out how to have a string in a string..
Help!!!
Etchy
