Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (535)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / JOGL Development / Re: Mac Intel: Is Polygon Mode/Cull Faces working properly? on: 2006-07-19 19:58:26
Sounds like a good idea.  Done.
2  Java Game APIs & Engines / JOGL Development / Mac Intel: Is Polygon Mode/Cull Faces working properly? on: 2006-07-19 00:49:42
I have the JSR-beta 5, and it seems to be behaving differently on our Intel Macs as on our PowerPC Macs.  On the PowerPC, if my code has set the polygon mode to FILL for front faces and LINE for back faces, I can see my triangles, but on the Intel, I just get an image similar to if I cull the front faces: a ghostly outline.  Only if I set polygon mode to FILL for both front and back faces on the Intel Mac can I get the render to look properly, and this proper rendering is independent of whether I cull the back faces or not, even though I changed the polygon mode of the back faces to get it to show.  I'm using the Universal Binary libraries on both platforms.

Does this sound like a problem anyone else has had?

Keith
3  Java Game APIs & Engines / JOGL Development / Re: Problem with glDrawElements() on: 2006-02-27 05:30:32
Given this is a sticky topic, I thought I would summarize the two big things I've learned about using Buffers in JSR-231 programs:

  • Use BufferUtils method to make your buffers.  This ensures they are:
  • The right size (i.e, size of, say, float times array count)
  • Direct Buffers instead of Indirect
  • The right byte order (ByteOrder.naturalOrder())
[li]rewind() your Buffers before submitting them to glVertexPointer(), glNormalPointer(), etc.[/li]
[/list]

For me, the incorrect ByteOrder was producing the VM crash that was described in starting this thread.

Keith
4  Java Game APIs & Engines / JOGL Development / Re: glReadPixels Error in curent, jsr231, including with dri hack on: 2006-02-25 05:49:39
Hey, Ken, what IS that pixel_buffer_object parameter for?  I can't find anything in the documentation that describes that version of the glReadPixels() call...

Keith
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

pw (37 views)
2014-07-24 01:59:36

Riven (38 views)
2014-07-23 21:16:32

Riven (26 views)
2014-07-23 21:07:15

Riven (28 views)
2014-07-23 20:56:16

ctomni231 (59 views)
2014-07-18 06:55:21

Zero Volt (50 views)
2014-07-17 23:47:54

danieldean (42 views)
2014-07-17 23:41:23

MustardPeter (44 views)
2014-07-16 23:30:00

Cero (60 views)
2014-07-16 00:42:17

Riven (57 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!