Lasse Öörni
|
ebdf905538
Always recalculate scale factor for fixed size billboards. Does not dirty the buffer unless actually changed. Closes #1790.
|
9 vuotta sitten |
Yao Wei Tjong 姚伟忠
|
53d213eb50
Minor refactor to remove the '***' as the repeat indicator.
|
9 vuotta sitten |
Lasse Öörni
|
f5b68769d0
ElementsNames -> ElementNames.
|
9 vuotta sitten |
Konstant
|
d2364ed342
Update components with variant vector structures.
|
9 vuotta sitten |
urho3d-travis-ci
|
ee054a1507
Travis CI: bump copyright to 2017.
|
9 vuotta sitten |
Lasse Öörni
|
b9e8bf7ca0
Eliminate BillboardSet 16 bit index limitation and use large indices when necessary.
|
9 vuotta sitten |
Eugene Kozlov
|
02fae13ad6
Update face camera mode name and add script bindings.
|
9 vuotta sitten |
Eugene Kozlov
|
d344cae791
Add new face camera mode to BillboardSet and Text3D.
|
9 vuotta sitten |
Lasse Öörni
|
48cd15bc5a
Store camera projection matrix as API-independent and convert as necessary (preparation for allowing the user to define a custom projection matrix.) Camera GetProjection() API changed; GetGPUProjection() is now used to get the API-specific projection for use as a shader parameter.
|
9 vuotta sitten |
Yusuf Umar
|
b24bcb8928
No longer need to passing camera position to direction billboard vertex buffer because Urho3D already has default uniform to do the job.
|
9 vuotta sitten |
Lasse Öörni
|
489356a29f
Cleanup editor debug icon code to not do constant resizes of billboardsets to zero and back, and to use fixed screen size mode to eliminate need for manual sizing. BillboardSet::SetNumBillboards() is no-op if count remains same. Fix BillboardSet fixed size bug when changing between ortho & perspective camera. Do not care to resize scratch buffer smaller if it's below 1MB. Add scratch buffer debug messages also to OpenGL Graphics class for consistency. Closes #1434.
|
9 vuotta sitten |
Yao Wei Tjong 姚伟忠
|
239c0265a0
Fix a typo in RibbonTrail's attribute and other minor cleanups.
|
9 vuotta sitten |
Lasse Öörni
|
ef212b9290
Fix BillboardSet & Text3D fixed screen size with multiple views. Remove unused variable. Fix potential bug with BillboardSet update LOD timer & fixed screen size (always force update)
|
9 vuotta sitten |
Lasse Öörni
|
caf663eac3
Possibility for BillboardSet / ParticleEffect billboards to be fixed screen size. In this case the billboard size is measured in pixels.
|
9 vuotta sitten |
Lasse Öörni
|
6a3f61f770
Fix billboard rendering. Calculate legacy vertex element bitmask only once. When setting vertex data for directional billboards, query camera world position just once.
|
9 vuotta sitten |
Lasse Öörni
|
a458d30fd5
Initial freeform vertex declarations for D3D9.
|
9 vuotta sitten |
Lasse Öörni
|
b16fc6493b
Add a function SinCos() which uses sincosf on GCC for optimized billboardset update, and falls back to separate sinf & cosf calls elsewhere. Todo: add for other cases.
|
10 vuotta sitten |
urho3d-travis-ci
|
c4f6f315ff
Travis CI: bump copyright to 2016.
|
10 vuotta sitten |
Yusuf Umar
|
aa16b5003a
Fixing some Coverity scan bug.
|
10 vuotta sitten |
Lasse Öörni
|
79f32fad0a
Shorter name for the directional mode in XML serialization. Eliminate duplicate code from ParticleEffect. Eliminate manual string compare in favor of GetStringListIndex().
|
10 vuotta sitten |
Lasse Öörni
|
f5cee983f1
Code convention minor edits. Expose the new enum value to Lua.
|
10 vuotta sitten |
Yusuf Umar
|
a8d9308abe
Moving billboard rotate computation from CPU to GPU. Particle with direction should run faster now.
|
10 vuotta sitten |
Yusuf Umar
|
353c459e0d
Adding direction for particle/billboard. It can create pseudo 3d effect inspired by Unity stretched billboard. Can be used by using face camera option 'Rotate Along Direction'.
|
10 vuotta sitten |
Ivan K
|
3959d569fa
MIXED_ACCESSOR_ATTRIBUTE -> URHO3D_MIXED_ACCESSOR_ATTRIBUTE
|
10 vuotta sitten |
Ivan K
|
212f419026
ACCESSOR_ATTRIBUTE -> URHO3D_ACCESSOR_ATTRIBUTE
|
10 vuotta sitten |
Ivan K
|
14b1669735
ENUM_ATTRIBUTE -> URHO3D_ENUM_ATTRIBUTE
|
10 vuotta sitten |
Ivan K
|
431e29d2cd
ATTRIBUTE -> URHO3D_ATTRIBUTE
|
10 vuotta sitten |
Ivan K
|
82b9a034a2
COPY_BASE_ATTRIBUTES -> URHO3D_COPY_BASE_ATTRIBUTES
|
10 vuotta sitten |
Yao Wei Tjong 姚伟忠
|
fa77a456f8
Reformat Urho3D source files to get rid of the indents on empty lines.
|
10 vuotta sitten |
Lasse Öörni
|
bb2ebf7568
Bump copyright to 2015.
|
11 vuotta sitten |