-
Notifications
You must be signed in to change notification settings - Fork 16
Labels
About 3DThis issue concerns 3D models and geometriesThis issue concerns 3D models and geometries👍 Fix to be tested🖥 Display OpenGLThis issue or request concerns only OpenGL displaysThis issue or request concerns only OpenGL displays
Description
Describe the bug
This is more or less the opposit of issue #547 .
Declare two objects, with a different .mtl each:
obj_file carOtherParts <- obj_file("../includes/obj/vehicles/CarOtherParts.obj","../includes/obj/vehicles/CarOtherParts.mtl");
obj_file carOtherPartsBraking <- obj_file("../includes/obj/vehicles/CarOtherParts.obj","../includes/obj/vehicles/CarOtherPartsBraking.mtl");
The two objects have the same shape, but different colors and textures depending on the context. However, both appear the same, using the first .mtl.
To reproduce
Use the following .obj and .mtl with the code above. The rear lights should appear in very dark red for the first one, and green for the second one.
obj.zip
Expected behavior
This is what we should get: (braking/not braking)
With the previous code you only get the first type of colors.
- GAMA version: [2025.05.]
Metadata
Metadata
Assignees
Labels
About 3DThis issue concerns 3D models and geometriesThis issue concerns 3D models and geometries👍 Fix to be tested🖥 Display OpenGLThis issue or request concerns only OpenGL displaysThis issue or request concerns only OpenGL displays
Type
Projects
Status
Todo