Re: Query scene for geo intersection (raycast)

2015-11-10 Thread David Barosin
Sounds like you want this
http://download.autodesk.com/global/docs/softimage2014/en_us/sdkguide/si_om/Geometry.GetRaycastIntersections.html



On Tuesday, November 10, 2015, Fabian Schnuer Gohde 
wrote:

> Hi,
> is there some way in scripting to cast a ray and get the closest
> intersection position/geo/object or similar info. I'm basically wanting to
> make some tools to quickly place objects to the floor and other locations
> for layout and set dressing. Like being able to select a hundred instances
> of something and have them all fall down on the landscape.
>
> Thank you,
> Fabian
>


animated ribbon

2015-11-10 Thread Kris Rivel
Attempting to animate a ribbon on a gift coming untied...anyone have any
tips or past experiences doing this? I was thinking a straight up cloth sim
might be too difficult to control. Was thinking of having the loops and
loose ends hand animated but once the knot comes undone I'll need to switch
to some kind of single, simulated mesh I guess. Any thoughts greatly
appreciated.

Kris


Query scene for geo intersection (raycast)

2015-11-10 Thread Fabian Schnuer Gohde
Hi,
is there some way in scripting to cast a ray and get the closest
intersection position/geo/object or similar info. I'm basically wanting to
make some tools to quickly place objects to the floor and other locations
for layout and set dressing. Like being able to select a hundred instances
of something and have them all fall down on the landscape.

Thank you,
Fabian


Re: ICE - text file & string manipulation

2015-11-10 Thread Gustavo Eggert Boehs
I guess you would have to do what you need via scripting, and then store
custom atributes you can read in ICE. I dont get exactly what your 'value'
stands for.
If you can tolerate just assinging particles to polygon islands, there are
existing tools for that:
http://www.gustavoeb.com.br/mtools/documentation/#special-cases-16. But you
would have to tolerate some unwanted behaviours in letters there are
composed by more then one island... like the letter "i".

Best regards,

Gustavo E Boehs
Dpto. de Expressão Gráfica | Universidade Federal de Santa Catarina |
http://www.gustavoeb.com.br/

2015-11-10 10:51 GMT-02:00 :

> Hi all,
> I would need to read in a text file, and extract it's information into ICE,
>
> for example:
> ABCD DDBB BCCA ABCD   'value': 4.0
> CCDBA AABBD CCCAB 'value' : 456
> ABC CDA ABB CBB 'value' : 0.345
>
> I would want to assign letters to an array of particles that adapts to the
> what's in the text,
> line 1 would be the situation for frame 1, line 2 situation for frame 2
> and so on.
> and recover 'value' as a scalar
>
> I haven’t started digging yet, it’s probably a case of rtfm, so no offense
> if you point that out to me :-).
>
> I have some clues about how to do this in scripting, but not at all in ICE.
> how to access a text file in ICE (ideally - if needed I could paste the
> contents of the text file into a custom property or a comment) , how to
> find and filter stuff, strip the part I need, converting the string into
> scalars -
>
> if anyone has any pointers on where to start and read up, or any gotcha's
> - it would be much appreciated.
>
>
>
>


ICE - text file & string manipulation

2015-11-10 Thread peter_b

Hi all,
I would need to read in a text file, and extract it's information into ICE,

for example:
ABCD DDBB BCCA ABCD   'value': 4.0
CCDBA AABBD CCCAB 'value' : 456
ABC CDA ABB CBB 'value' : 0.345

I would want to assign letters to an array of particles that adapts to the 
what's in the text,
line 1 would be the situation for frame 1, line 2 situation for frame 2 and 
so on.

and recover 'value' as a scalar

I haven’t started digging yet, it’s probably a case of rtfm, so no offense 
if you point that out to me :-).


I have some clues about how to do this in scripting, but not at all in ICE.
how to access a text file in ICE (ideally - if needed I could paste the 
contents of the text file into a custom property or a comment) , how to find 
and filter stuff, strip the part I need, converting the string into 
scalars -


if anyone has any pointers on where to start and read up, or any gotcha's - 
it would be much appreciated.