[ODE] Pushing an object.
Doron Tal
dtal at email.arc.nasa.gov
Wed Jan 4 01:02:31 MST 2006
Hi Moshin,
If you want a representation with just the geometry of
rigid bodies, but not their mass, SGI's Open-Inventor (or
Coin3d, the open-source version of the library with an
identical API) may be good for this - it's a rich 3D
graphics library with a well written API. It doesn't
have joints, but it's easy to make them using its primitives;
or you can use open-inventor "engines" to rotate or
translate any part about another as a function of time,
or any other variable in your program. -D
Vrej Melkonian wrote:
> Hi Mohsin,
>
> Yes, geom only. Thanks for correcting.
>
> Also, when I said hinge, I meant the word joint.
> So you can use a ball-socket joint between mouse and
> the object, with a distance of you choice.
>
> Novodex demoes show this kind of thing and I also saw
> it in ODEED
> (the ODE editor)
> I just ran ODEED.exe and it gives a messagebox
> "Context Not created" and that's all.
> Same with ODEEDTestbed.exe
> ODEEDTestbed also says Need at least OpenGL version
> 1.1
> but I have 2.0 (my drivers are very recent)
> hmmm......
>
> --- Mohsin Hasan <mohsin.hasan at trivor.com> wrote:
>
>
>>Do you mean a geometry only object?
>>
>>-----Original Message-----
>>From: ode-bounces at q12.org
>>[mailto:ode-bounces at q12.org] On Behalf Of Vrej
>>Melkonian
>>Sent: Tuesday, January 03, 2006 9:46 AM
>>To: ODE list
>>Subject: Re: [ODE] Pushing an object.
>>
>>Happy New Year back to you!
>>
>>I was thinking that you could make the object a body
>>only object so you can position it as you wish. ODE
>>won't apply gravity or any forces to it.
>>
>>The hinge method is possible also. It would be as if
>>the object is hooked with a tether.
>>
>>--- Peter Onion <Peter.Onion at btinternet.com> wrote:
>>
>>
>>>Happy New Year !
>>>
>>>I'm having trouble with a "drag and drop" sort of
>>>situation.
>>>If you look at this picture
>>>
>>
> http://www.btinternet.com/~Peter.Onion/E803/Drawers.jpg
>
>>>you can see what I'm working on.
>>>
>>>The two pink objects represent reels of paper
>>
>>tape.
>>
>>>When I press the
>>>mouse over a reel I want to be able to drag it to
>>
>>a
>>
>>>different position,
>>>and while it is moving it will push other reels
>>
>>out
>>
>>>of the way.
>>>
>>>This mostly works, except for very small reels
>>
>>that
>>
>>>become unstable
>>>while being dragged.
>>>
>>>To move the reels I'm setting the reels linear
>>>velocity proportional to
>>>the difference between the reel's position a the
>>>mouse cursor's position
>>>(mapped onto the surface in the 3d space).
>>>
>>>Should be using some sort of joint to control the
>>>reels motion ?
>>>Another idea I had was to create some sort of
>>>invisible object at the
>>>mouse cursor position and use that to push objects
>>>around using the
>>>normal collision detection techniques.
>>>
>>>Peter
>>>
>>>_______________________________________________
>>>ODE mailing list
>>>ODE at q12.org
>>>http://q12.org/mailman/listinfo/ode
>>>
>>
>>
>>
>>
>>
>>__________________________________
>>Yahoo! for Good - Make a difference this year.
>>http://brand.yahoo.com/cybergivingweek2005/
>>_______________________________________________
>>ODE mailing list
>>ODE at q12.org
>>http://q12.org/mailman/listinfo/ode
>>
>>
>>
>>
>
>
>
>
>
> __________________________________________
> Yahoo! DSL – Something to write home about.
> Just $16.99/mo. or less.
> dsl.yahoo.com
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>
More information about the ODE
mailing list