Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, October 2007
Help....Newbie...how to paintGL objects together ?


Message 1 in thread

Hi All,

I am new to OpenGL ( its the only 3d that my University is using heavily 
) and developing a scientific application (Suse-10.2 Linux, qt 4.3). So 
far I can display each object, item, ( line, rectangle, curves, etc)  on 
it own - I manually add, remove and compile each time .  Now, I have 
added a Tree View, which allows adding item and modify it's attributes 
with add/remove/compile/test. The problem occurs when I try to paint two 
or more OGL items together - it crashes !!! :-( .

How should I combine the paintGL to work on all my items ?    Please, 
write a small code .

Thank You,
-Joshua

--
 [ signature omitted ] 

Message 2 in thread

Hi Joshua,

May you show your code causes the crash?

WBR,
Gleb Golubitsky

2007/10/22, Joshua Robinson <shooki.robinson@xxxxxxxxx>:
> Hi All,
>
> I am new to OpenGL ( its the only 3d that my University is using heavily
> ) and developing a scientific application (Suse-10.2 Linux, qt 4.3). So
> far I can display each object, item, ( line, rectangle, curves, etc)  on
> it own - I manually add, remove and compile each time .  Now, I have
> added a Tree View, which allows adding item and modify it's attributes
> with add/remove/compile/test. The problem occurs when I try to paint two
> or more OGL items together - it crashes !!! :-( .
>
> How should I combine the paintGL to work on all my items ?    Please,
> write a small code .
>
> Thank You,
> -Joshua
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>

--
 [ signature omitted ] 

Message 3 in thread

Joshua Robinson wrote:
> Please,
> write a small code .
  ^^^^^^^^^^^^^^^^^^^^^

Exactly. Please provide sample code so we can see why it is crashing.

- Adam

--
 [ signature omitted ]