Autonomous Taxi Simulator

Hi everyone,



I promised I’ll post a topic about our project, there it is.



We’re in our last year of study and we have a project to achieve for the February 27th.

This project consists of a autonomous taxi simulator on our university campus.



A little screenshot : http://pagesperso-orange.fr/garage-isidore/pge01.JPG



We are currently in development and we are encountering some problems.



The most important is this one : I’ve a directional light in my scene and I’ve load some 3ds models. The problem is that models faces which are not in front of the light are black.



How can i manage to have the true color of the models or faces less dark?



Screenshot of a correct lighted redLight (facing the light) : here

Screenshot of a incorrect lighted redLight (not facing the light) : here

Screenshot of a incorrect lighted taxi: here



I’ve tried to disable the light on the models but I’ve obtain white models.



Thanks for your help

i guess there are different solutions.

  • add other light sources
  • set the lightstates global ambient color
  • set the ambient color of the directional light to a brighter color
  • set the ambient color of the objects materials
  • add other light sources : done but the models get more and more white
  • set the lightstates global ambient color : done, set to (1.0f, 1.0f, 1.0f, 1.0f), nothing changed
  • set the ambient color of the directional light to a brighter color : done, set to (1.0f, 1.0f, 1.0f, 1.0f), nothing changed
  • set the ambient color of the objects materials : I can't, i want the ambient color of my 3ds model



    I've tried to add the vehicle model from Flag Rush Tutorial Series in my scene. With this model, no problem, the face not lighted is not black.



    So I'm thinking that It could be a problem with my models.



    For your information, all my models are export from Google Sketchup in 3ds format. Can it be my problem ?


It does sound like the materials on your object is set with very dark ambient.

I don't know about Google Sketchup, but you can easily fix that in most 3D modellers.

I opened my models in 3ds Max then reexport its in 3ds and that made the trick.



Apparently, the Google Sketchup 3ds exporter have problems.



Thanks for your advices.