OpenCores
URL https://opencores.org/ocsvn/theia_gpu/theia_gpu/trunk

Subversion Repositories theia_gpu

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /theia_gpu/trunk/examples/shaders
    from Rev 83 to Rev 112
    Reverse comparison

Rev 83 → Rev 112

/example1/Params.mem
1,5 → 1,7
//Configuration octect count
2A
//Configuration Packet I:
//<Environment Light>,<Number of Lights in scene>, <Configuration Packet Count>
//<Environment Light>,<Number of Lights in scene>,<Configuration Packet Count>
0 20000 9
 
//Configuration Packet II:
/example1/Textures.mem
1,8 → 1,3
//This is texture map memory file
//Width Height
100 100
//Format R(32bits) G(32bits) B(32bits).
//No alpha support for now. Notice that values are in Qm.n format (Fixed point)
6200 5600 3c00
3200 2a00 1800
3400 2a00 1e00
/example1/Vertex.mem
5,32 → 5,32
//# Childs 16 bits + #triangles 16 bits(0 means no leaf)
2
//Offset to data
140000
140000 //10
//Address of next brother (Zero means NULL)
 
//Address of Parent's brother
 
// Triangle 0 Vertices + u v alpha
fffb0000 fffa0000 0
0 0 20000
50000 fffa0000 0
20000 0 20000
50000 40000 0
20000 20000 20000
fffb0000 fffa0000 0 //10,11,12
0 0 20000 //13,14,15
50000 fffa0000 0 //16,17,18
20000 0 20000 //19, 20,21
50000 40000 0 //22,23,24
20000 20000 20000 //25,26,27
 
// Triangle 0 Diffuse Color
 
20000 20000 20000
20000 20000 20000 //28,29,30
// Triangle 1 Vertices + u v alpha
50000 40000 0
20000 20000 20000
fffb0000 40000 0
0 20000 20000
fffb0000 fffa0000 0
0 0 20000
50000 40000 0 //31,32,33
20000 20000 20000 //34,35,36
fffb0000 40000 0 //37,38,39
0 20000 20000 //40,41,42
fffb0000 fffa0000 0 //43,44,45
0 0 20000 //46,47,48
 
// Triangle 1 Diffuse Color
 
20000 20000 20000
20000 20000 20000 //49,50,51
//Total Number of Bytes51
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.