> I think I understand what you're saying, but in my pyramids.factor
> I've
> copied a whole lot of code from your spheres, incl. the use of the
> demo-gadget. However, I must have missed something that's needed for
> the
> arrow keys to work. If you haven't allready looked at my code, I'd
>
- Make use of the arrow key events for rotation of the scene
(pitch and yaw)
>>>
>>> You need to call define-gestures with an alist mapping keyboard
>>> gestures to quotations with effect ( gadget -- ). Grep around for
>>> define-gestures, you'll find plenty of examples.
>>>
>>> Slava
>>
Hi
I'am not sure my code is up to date but you can give a look at extra/
4DNav.
The word "add-keyboard-delegate" links keys to actions.
Jeff
Le 5 avr. 09 à 20:12, Joe Groff a écrit :
>
> On Apr 5, 2009, at 3:31 AM, Jon Kleiser wrote:
>
>> Hi,
>>
>> Thanks for your reply!
>>
- Make use of
On Apr 5, 2009, at 3:31 AM, Jon Kleiser wrote:
> Hi,
>
> Thanks for your reply!
>
>>> - Make use of the arrow key events for rotation of the scene
>>> (pitch and
>>> yaw)
>>
>> You need to call define-gestures with an alist mapping keyboard
>> gestures to quotations with effect ( gadget -- ). Gr
Hi,
Thanks for your reply!
>> - Make use of the arrow key events for rotation of the scene (pitch and
>> yaw)
>
> You need to call define-gestures with an alist mapping keyboard
> gestures to quotations with effect ( gadget -- ). Grep around for
> define-gestures, you'll find plenty of examples.
On Sat, Apr 4, 2009 at 3:14 PM, Jon Kleiser wrote:
> Hi,
>
> My first OpenGL program is a (not yet complete) port of a small
> "animation" that I've done earlier in other languages.
Cool.
> - Get regular timed events (e.g. 20/sec.) so I can calculate new values
> for the animation
Take a look a
Hi,
My first OpenGL program is a (not yet complete) port of a small
"animation" that I've done earlier in other languages. To get up and
running quick, I've stolen a whole lot from the spheres.factor demo, incl.
some code that I probably don't need. (There's more than just a few things
in the sphe