[Gambas-user] gb3: OpenGL help

Girard Henri girardhenri at ...67...
Mon Oct 17 22:52:13 CEST 2011


I forget you have nehe shell opengl in gb3  most examples, can be 
completed I found it online

http://whiteislandsoftware.com/forum/index.php?page=topicview&id=tutorial%2Ftutorials-from-opengl

regards

Henri

Le 17/10/2011 20:57, Girard Henri a écrit :
> you can find all email on the list recently about opengl in gambas
> Le 17/10/2011 08:21, Kevin Fishburne a écrit :
>> I need some general help with implementing a few things in OpenGL. I
>> know many new OpenGL functions were added to gb3, but am not sure of the
>> extent or what I need to do with them.
>>
>> I need to create a polygonal grid and apply different textures to
>> different parts of it. The grid should be a single object for purposes
>> of shading and light sources. I've heard of a "multitexture" function,
>> but am not sure if that's what I need.
>>
>> As a usage example, let's say I have a 16x16 grid of landscape tiles.
>> The images for each tile are in an array of OpenGL textures, so I have
>> 256 separate OpenGL textures. I want to create a polygonal grid object
>> with subdivisions representing the 16x16 tiles and draw the 256 textures
>> onto the grid. Is this possible in OpenGL in general, or in gb3's OpenGL
>> implementation specifically?
>>
>> Think of it like drawing the screen tiles for an old Ultima-style game,
>> but the tiles would be on a single polygonal object.
>>
>> I'd also like to know if billboard-style textures are supported in gb3's
>> OpenGL implementation, which I'll need to implement should the first
>> point be possible. Any help would be greatly appreciated. A kind gb user
>> also sent me the OpenGL redbook, which I can use for reference if the
>> functions are supported by gb.
>>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2d-oct
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>





More information about the User mailing list