Results 1 to 3 of 3
  1. #1
    Supamagier is offline Senior Member
    Join Date
    Aug 2008
    Posts
    384
    Rep Power
    6

    Unhappy 'Tiny' 3D Problem

    Hey all,

    I created a 3D engine for a game I'm making, but I have a little problem. I think the problem has to do with the lighting, but I'm not sure. I was wondering if someone could help me out. :)

    An image says a thousand words... so I attached an image explaining the problem. The left barbell, the correct one, is imported from a working OBJ importer I found. The one on the right is from my own loader, based on the working one.

    As I said, I think the problem has to do with the lighting, but I'm not sure... Anyone help, please? :)

    ~Matt
    Attached Thumbnails Attached Thumbnails 'Tiny' 3D Problem-barbell-difference.jpg  
    I die a little on the inside...
    Every time I get shot.

  2. #2
    mrmatt1111's Avatar
    mrmatt1111 is offline Senior Member
    Join Date
    Aug 2009
    Location
    San Jose, CA, USA
    Posts
    320
    Rep Power
    6

    Default

    Looks like your light source is pointed in the wrong direction and you need to up the polygon count.
    My Hobby Project: LegacyClone

  3. #3
    Supamagier is offline Senior Member
    Join Date
    Aug 2008
    Posts
    384
    Rep Power
    6

    Default

    The polycount is for both models exactly the same (280). If I set the light exactly the same the green 'sphere' ends up as white & the front is as it should be, the back is black, & the sides as you can see on the pic :\

    EDIT:
    Did some 'research'. Good news & bad news (4 me): it is definitely the light that's causing all polys to be so... dumb.
    I attached a picture to this post that shows it rendered without light, and the correct colors.

    Any suggestions? I'm currently checking out if the correct colors, position & direction are used. Btw, is it also possible there's a bug in the material? There's definitely one in the light, but maybe also in the material?
    Attached Thumbnails Attached Thumbnails 'Tiny' 3D Problem-barbell-without-light.jpg  
    Last edited by Supamagier; 09-03-2009 at 09:50 AM.
    I die a little on the inside...
    Every time I get shot.

Similar Threads

  1. The Tiny Multi Agent Platform 4.0
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 03-14-2008, 06:10 PM
  2. The Tiny Multi Agent Platform 2.0
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 11-21-2007, 07:56 PM
  3. Tiny Eclipse 3.3
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 07-09-2007, 04:34 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •