Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Game and Graphics Programming for iOS and Android with OpenGL ES 2.0
This is the forum to discuss the Wrox book Game and Graphics Programming for iOS and Android with OpenGL ES 2.0 by Romain Marucchi-Foino; ISBN: 978-1-1199-7591-5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Game and Graphics Programming for iOS and Android with OpenGL ES 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 14th, 2012, 04:00 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Example 3-3 is not as in book

Hello,
I went through example 3-3 in the book, and expected an output similar to the one of figure 3-3, and as explained by the section.

However, the lighting is not hitting Momo, and there is no lighting effect on the model as it is rotating.

Instead, my Momo is all green, blue, and black, and the colors cover the complete model instead of hitting it from a lighting angle.

Any clue?

Thanks.
Reply With Quote
  #2 (permalink)  
Old July 14th, 2012, 05:54 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default It could be a device dependant issue

I have run the code on a HTC Android and it worked as expected:

1. Momo is white
2. As Momo rotated, the model in the location of viewer is more intense (hit by the light)

It seems there is something with the supported colors on the other android device I am using, or needs some more tweaking.

I am new to game programming, so if anyone has a clue or some guidance, please let me know.

I shall also keep investigating.

Thanks.

Last edited by shirad; July 14th, 2012 at 07:33 AM.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
finding free book "Beginning Jsp Book" ruzdi JSP Basics 0 December 7th, 2007 01:46 PM
Help,I can't find my book in your book list. 5uer All Other Wrox Books 2 August 21st, 2004 01:43 AM
I can't find my book in your book list. Vincent Yang All Other Wrox Books 1 July 5th, 2004 01:34 PM



All times are GMT -4. The time now is 04:17 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.