Opened 20 years ago
Closed 20 years ago
#26 closed defect (fixed)
Material class update
Reported by: | bensch | Owned by: | bensch |
---|---|---|---|
Priority: | major | Milestone: | 0.2.3-pre-alpha orx-v0 |
Component: | Importer | Version: | |
Keywords: | Cc: | ||
Referenced By: | References: |
Description
The Material class is only showing the diffuse mapping for the moment, and it should be possible to use it easily without model-class itself.
- reimplement:
- The class needs some refitting, so it is easy, to create a Material nad very fast work with it.
- there must be a Method create/define/change to initialize the Material.
- there must be a function to initialize the material, so it can be loaded on the fly and be applyed to (a part of) a model.
- Methods to add:
- Bump-map, ambient-map, specular map and so on…
- Possibly some predefinded textures like checker/noise/fog and so on → put this inside a new File or texture.cc.
- change function, to modify the Material, think about that a Material is also inside of a glList.
Attachments (1)
Change History (5)
Changed 20 years ago by bensch
comment:1 Changed 20 years ago by bensch
- Summary changed from Material class update to Adding interessting Link
An interessting link that shows the different material properties (this is for doom3, but should be (more or less) implemented into the Material class of orxonox)
comment:2 Changed 20 years ago by bensch
An interessting link that shows the different material properties (this is for doom3, but should be (more or less) implemented into the Material class of orxonox)
comment:3 Changed 20 years ago by bensch
- Summary changed from Adding interessting Link to Material class update
comment:4 Changed 20 years ago by bensch
- Resolution set to fixed
- Status changed from new to closed
Material now works fine, and is real easy to use
also implemented some transparency
more effects are still under work
Note: See
TracTickets for help on using
tickets.
Simple-DOT3-Bump: compile with g++ *.cpp -lGL -lGLU -lglut, needs some textures (see compiled file)