diff options
author | Robin Cornelius | 2010-10-10 22:10:33 +0100 |
---|---|---|
committer | Robin Cornelius | 2010-10-10 22:10:33 +0100 |
commit | b3b30285126289f54b57bd42569bb0721e40e088 (patch) | |
tree | f4aaccb98d1a835c4ea376ec2803fc410a704052 /linden/indra/newview/llvovolume.h | |
parent | Merge branch 'mccabe-plugins' into plugins_merge (diff) | |
download | meta-impy-b3b30285126289f54b57bd42569bb0721e40e088.zip meta-impy-b3b30285126289f54b57bd42569bb0721e40e088.tar.gz meta-impy-b3b30285126289f54b57bd42569bb0721e40e088.tar.bz2 meta-impy-b3b30285126289f54b57bd42569bb0721e40e088.tar.xz |
Revert "port of LL renderpipeline/Kirstens S19 pipeline for bridging to Viewer 2 texture system"
This reverts commit 087e15e89930d51c3964329befb273ae3b2d330d.
Conflicts:
linden/indra/newview/llsurface.cpp
linden/indra/newview/llviewerwindow.cpp
linden/indra/newview/llvoavatar.cpp
linden/indra/newview/pipeline.cpp
linden/indra/newview/pipeline.h
Diffstat (limited to 'linden/indra/newview/llvovolume.h')
-rw-r--r-- | linden/indra/newview/llvovolume.h | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/linden/indra/newview/llvovolume.h b/linden/indra/newview/llvovolume.h index 4c6ad9a..a78aa37 100644 --- a/linden/indra/newview/llvovolume.h +++ b/linden/indra/newview/llvovolume.h | |||
@@ -130,7 +130,7 @@ public: | |||
130 | 130 | ||
131 | 131 | ||
132 | BOOL getVolumeChanged() const { return mVolumeChanged; } | 132 | BOOL getVolumeChanged() const { return mVolumeChanged; } |
133 | F32 getTextureVirtualSize(LLFace* face); | 133 | |
134 | /*virtual*/ F32 getRadius() const { return mVObjRadius; }; | 134 | /*virtual*/ F32 getRadius() const { return mVObjRadius; }; |
135 | const LLMatrix4& getWorldMatrix(LLXformMatrix* xform) const; | 135 | const LLMatrix4& getWorldMatrix(LLXformMatrix* xform) const; |
136 | 136 | ||
@@ -158,14 +158,14 @@ public: | |||
158 | /*virtual*/ S32 setTEBumpmap(const U8 te, const U8 bump); | 158 | /*virtual*/ S32 setTEBumpmap(const U8 te, const U8 bump); |
159 | /*virtual*/ S32 setTEShiny(const U8 te, const U8 shiny); | 159 | /*virtual*/ S32 setTEShiny(const U8 te, const U8 shiny); |
160 | /*virtual*/ S32 setTEFullbright(const U8 te, const U8 fullbright); | 160 | /*virtual*/ S32 setTEFullbright(const U8 te, const U8 fullbright); |
161 | /*virtual*/ S32 setTEBumpShinyFullbright(const U8 te, const U8 bump); // KL S19? | 161 | /*virtual*/ S32 setTEBumpShinyFullbright(const U8 te, const U8 bump); |
162 | /*virtual*/ S32 setTEMediaFlags(const U8 te, const U8 media_flags); | 162 | /*virtual*/ S32 setTEMediaFlags(const U8 te, const U8 media_flags); |
163 | /*virtual*/ S32 setTEGlow(const U8 te, const F32 glow); | 163 | /*virtual*/ S32 setTEGlow(const U8 te, const F32 glow); |
164 | /*virtual*/ S32 setTEScale(const U8 te, const F32 s, const F32 t); | 164 | /*virtual*/ S32 setTEScale(const U8 te, const F32 s, const F32 t); |
165 | /*virtual*/ S32 setTEScaleS(const U8 te, const F32 s); | 165 | /*virtual*/ S32 setTEScaleS(const U8 te, const F32 s); |
166 | /*virtual*/ S32 setTEScaleT(const U8 te, const F32 t); | 166 | /*virtual*/ S32 setTEScaleT(const U8 te, const F32 t); |
167 | /*virtual*/ S32 setTETexGen(const U8 te, const U8 texgen); | 167 | /*virtual*/ S32 setTETexGen(const U8 te, const U8 texgen); |
168 | /*virtual*/ S32 setTEMediaTexGen(const U8 te, const U8 media); // KL S19 | 168 | /*virtual*/ S32 setTEMediaTexGen(const U8 te, const U8 media); |
169 | /*virtual*/ BOOL setMaterial(const U8 material); | 169 | /*virtual*/ BOOL setMaterial(const U8 material); |
170 | 170 | ||
171 | void setTexture(const S32 face); | 171 | void setTexture(const S32 face); |
@@ -177,8 +177,8 @@ public: | |||
177 | /*virtual*/ void updateFaceSize(S32 idx); | 177 | /*virtual*/ void updateFaceSize(S32 idx); |
178 | /*virtual*/ BOOL updateLOD(); | 178 | /*virtual*/ BOOL updateLOD(); |
179 | void updateRadius(); | 179 | void updateRadius(); |
180 | /*virtual*/ void updateTextures(LLAgent &agent); | 180 | /*virtual*/ void updateTextures(); |
181 | void updateTextures(); | 181 | void updateTextureVirtualSize(); |
182 | 182 | ||
183 | void updateFaceFlags(); | 183 | void updateFaceFlags(); |
184 | void regenFaces(); | 184 | void regenFaces(); |
@@ -196,18 +196,9 @@ public: | |||
196 | void setLightRadius(F32 radius); | 196 | void setLightRadius(F32 radius); |
197 | void setLightFalloff(F32 falloff); | 197 | void setLightFalloff(F32 falloff); |
198 | void setLightCutoff(F32 cutoff); | 198 | void setLightCutoff(F32 cutoff); |
199 | void setLightTextureID(LLUUID id); | ||
200 | void setSpotLightParams(LLVector3 params); | ||
201 | |||
202 | BOOL getIsLight() const; | 199 | BOOL getIsLight() const; |
203 | LLColor3 getLightBaseColor() const; // not scaled by intensity | 200 | LLColor3 getLightBaseColor() const; // not scaled by intensity |
204 | LLColor3 getLightColor() const; // scaled by intensity | 201 | LLColor3 getLightColor() const; // scaled by intensity |
205 | LLUUID getLightTextureID() const; | ||
206 | LLVector3 getSpotLightParams() const; | ||
207 | void updateSpotLightPriority(); | ||
208 | F32 getSpotLightPriority() const; | ||
209 | |||
210 | LLViewerImage* getLightTexture(); | ||
211 | F32 getLightIntensity() const; | 202 | F32 getLightIntensity() const; |
212 | F32 getLightRadius() const; | 203 | F32 getLightRadius() const; |
213 | F32 getLightFalloff() const; | 204 | F32 getLightFalloff() const; |
@@ -217,8 +208,6 @@ public: | |||
217 | U32 getVolumeInterfaceID() const; | 208 | U32 getVolumeInterfaceID() const; |
218 | virtual BOOL isFlexible() const; | 209 | virtual BOOL isFlexible() const; |
219 | virtual BOOL isSculpted() const; | 210 | virtual BOOL isSculpted() const; |
220 | virtual BOOL hasLightTexture() const; | ||
221 | |||
222 | BOOL isVolumeGlobal() const; | 211 | BOOL isVolumeGlobal() const; |
223 | BOOL canBeFlexible() const; | 212 | BOOL canBeFlexible() const; |
224 | BOOL setIsFlexible(BOOL is_flexible); | 213 | BOOL setIsFlexible(BOOL is_flexible); |
@@ -244,14 +233,12 @@ private: | |||
244 | BOOL mLODChanged; | 233 | BOOL mLODChanged; |
245 | S32 mSculptLevel; | 234 | S32 mSculptLevel; |
246 | BOOL mSculptChanged; | 235 | BOOL mSculptChanged; |
247 | F32 mSpotLightPriority; | ||
248 | LLMatrix4 mRelativeXform; | 236 | LLMatrix4 mRelativeXform; |
249 | LLMatrix3 mRelativeXformInvTrans; | 237 | LLMatrix3 mRelativeXformInvTrans; |
250 | BOOL mVolumeChanged; | 238 | BOOL mVolumeChanged; |
251 | F32 mVObjRadius; | 239 | F32 mVObjRadius; |
252 | LLVolumeInterface *mVolumeImpl; | 240 | LLVolumeInterface *mVolumeImpl; |
253 | LLPointer<LLViewerImage> mSculptTexture; | 241 | LLPointer<LLViewerImage> mSculptTexture; |
254 | LLPointer<LLViewerImage> mLightTexture; | ||
255 | 242 | ||
256 | // statics | 243 | // statics |
257 | public: | 244 | public: |