.. | .. |
---|
1187 | 1187 | boxButton.setToolTipText("Create box"); |
---|
1188 | 1188 | boxButton.addActionListener(this); |
---|
1189 | 1189 | |
---|
| 1190 | + row1.add(superButton = GetButton("icons/super.png", !Grafreed.NIMBUSLAF)); //, oe.aConstraints); |
---|
| 1191 | + superButton.setToolTipText("Create superellipsoid"); |
---|
| 1192 | + superButton.addActionListener(this); |
---|
| 1193 | + |
---|
1190 | 1194 | row1.add(sphereButton = GetButton("icons/sphere.png", !Grafreed.NIMBUSLAF)); //, oe.aConstraints); |
---|
1191 | 1195 | sphereButton.setToolTipText("Create sphere"); |
---|
1192 | 1196 | sphereButton.addActionListener(this); |
---|
.. | .. |
---|
1198 | 1202 | row1.add(torusButton = GetButton("icons/torus.png", !Grafreed.NIMBUSLAF)); //, oe.aConstraints); |
---|
1199 | 1203 | torusButton.setToolTipText("Create torus"); |
---|
1200 | 1204 | torusButton.addActionListener(this); |
---|
1201 | | - |
---|
1202 | | - row1.add(superButton = GetButton("icons/super.png", !Grafreed.NIMBUSLAF)); //, oe.aConstraints); |
---|
1203 | | - superButton.setToolTipText("Create superellipsoid"); |
---|
1204 | | - superButton.addActionListener(this); |
---|
1205 | 1205 | |
---|
1206 | 1206 | if (Globals.ADVANCED) |
---|
1207 | 1207 | { |
---|
.. | .. |
---|
2165 | 2165 | shadow.material = new cMaterial(obj.material); |
---|
2166 | 2166 | shadow.material.diffuse = 0.0001f; |
---|
2167 | 2167 | shadow.material.specular = 0.0001f; |
---|
2168 | | - //shadow.projectedVertices[1].x = 300; |
---|
| 2168 | + shadow.material.opacity = 0.75f; |
---|
| 2169 | + |
---|
| 2170 | + AllocProjectedVertices(shadow); |
---|
| 2171 | + |
---|
| 2172 | + shadow.projectedVertices[1].x = 300; |
---|
2169 | 2173 | |
---|
2170 | 2174 | makeSomething(shadow); |
---|
2171 | 2175 | } |
---|