From: antoche <an...@al...> - 2001-01-04 16:47:42
|
Gab : j'ai examine 3DSMAX pour les lights et les cameras, donc deja je peux effectivement savoir si c'est un free ou target, mais en plus je me suis redu compte que CHAQUE noeud dans la hierarchie avait un target, qui est un pointeur vers un autre noeud, ce qui est plutot logique d'ailleurs. donc si tu veux je peux exporter pour chaque objet le nom (ou l'index ou ce que tu veux) du target. Sinon le target de la light est un objet a part entiere mais c debile ils mettent ca en geomobject alors que... enfin bref je vais lui faire sa peau :p Sinon pour le GL_REPLACE en fait je crois que c'est une connerie, enfin non mais oui parce que apres tu peux pu modifier la couleur avec glTexMaterial, mais justement glTexMaterial c pour le lighting donc normalement faut pas utiliser ca... Bref a mon avis faut essayer en disablant le lighting et en te mettant en mode glTexEnv(GL_BLEND) et en modifiant la couleur GL_TEXTURE_ENV_COLOR ca devrait marcher... Enfin pour la license, voila un extrait de la license de la titan engine. OK c'est pas celle qu'on veut mais par exemple si tu regardes le dernier paragraphe ca peut etre utile de le rajouter. Copyright (c) 2000, Ignacio Castano Aguado All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither name of the Aside Software nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |