ZappoMan
46cb780aa5
view cull mesh parts
2014-10-15 10:08:21 -07:00
Sam Gateau
113fb1908a
fix the first issues
2014-10-13 23:28:43 -07:00
samcake
700ec5cf79
Rendering resolution can be different than the native window resolution
...
- Get rid of the different GlowModes since we found the correct one (DIFFUSE and ADD)
Get rid of the ui to change the mode
- INtroduce a "RenderResolutionScale" in the application that controls the ratio ofthe resolution between the framebuffers and the native window provided by Qt
- In the paintGL, in the default rendering path:
the rendering Framebuffers are resized to the window.size * renderResolutionScale.
The viewport is assigned to the framebuffer size from GlowEffect.prepare() to GlowEffect.render() (and not the original GLCanvas size)
at the end of GLowEffect render, the final step is to blit the colorbuffer from the rendering into the window's default framebuffer at the original resolution, and that requires one more glViewport
- add the ui in developer/render/ menu "scale resolution" where you can select the scaling level. THis should show in the rendering with ugly aliasing when selecting a scale under 1/2.
2014-10-13 18:00:50 -07:00
Sam Gateau
ba2d072a65
fix syntax issues for constant names and the CmakeLists.txt useless change
2014-10-06 12:15:36 -07:00
Sam Gateau
4f26c9e0fa
fix formatting and syntax issues
2014-10-06 11:06:23 -07:00
Sam Gateau
738369e21f
Replacing glutSolidSphere by a cached Geometry
...
Instead of calling glutSolidSphere, just call Application::getInstance()->getGeometryCache()->renderSphere(...)
- replaced all the instances of "glutSolidSphere"
- Changed the atmosphere shaders so instead of drawing a sphere of the size of the atmosphere, we draw a unit sphere, the vertices get scaled at the right radius in th vertex shader using fOuterRadius
2014-10-03 16:55:58 -07:00
Andrzej Kapolka
4c617c6d55
Stop using the emissive color for glow.
2014-09-29 14:51:45 -07:00
AndrewMeadows
7f7861671e
Merge pull request #3471 from ctrlaltdavid/20055
...
Code Review for Job #20055
2014-09-26 14:00:33 -07:00
David Rowe
aa9511c263
Position Rift camera at avatar model's mid-eye location
2014-09-25 22:49:12 -07:00
Andrzej Kapolka
6c907a9d83
Read the emissive color property and use it to effect glow.
2014-09-19 16:49:51 -07:00
Andrzej Kapolka
9515145b9b
Removed commented lines.
2014-09-19 15:48:56 -07:00
Andrzej Kapolka
646c0dc48f
Working on translucent model bits.
2014-09-19 15:31:46 -07:00
Andrzej Kapolka
446c2193ff
Limit what we render for deferred point/spot lights based on the light's
...
radius.
2014-09-19 12:18:00 -07:00
Andrzej Kapolka
c6aad42f21
Move LocalLight to AvatarManager, apply it at the avatar level.
2014-09-18 17:09:53 -07:00
Andrzej Kapolka
b9ae005e53
Working on the actual deferred lights.
2014-09-18 16:12:46 -07:00
Andrzej Kapolka
5c22fe7bd1
Translucency tweak.
2014-09-18 13:27:15 -07:00
Andrzej Kapolka
fb7e633cac
Post-merge fixes.
2014-09-18 13:17:23 -07:00
Andrzej Kapolka
c54e1c937c
Merge branch 'master' of https://github.com/highfidelity/hifi into deference
...
Conflicts:
interface/src/avatar/Head.cpp
2014-09-18 13:08:55 -07:00
Andrzej Kapolka
e0a56b4a95
Rejiggered the blender handling: allow up to N blenders active at once so
...
that with small numbers of avatars, the blenders can stack for lower latency.
2014-09-17 17:57:08 -07:00
Andrzej Kapolka
ce9ecba5d8
Merge branch 'master' of https://github.com/highfidelity/hifi into deference
...
Conflicts:
interface/resources/shaders/model.frag
interface/resources/shaders/model_cascaded_shadow_map.frag
interface/resources/shaders/model_cascaded_shadow_normal_map.frag
interface/resources/shaders/model_cascaded_shadow_normal_specular_map.frag
interface/resources/shaders/model_cascaded_shadow_specular_map.frag
interface/resources/shaders/model_normal_map.frag
interface/resources/shaders/model_normal_specular_map.frag
interface/resources/shaders/model_shadow_map.frag
interface/resources/shaders/model_shadow_normal_map.frag
interface/resources/shaders/model_shadow_normal_specular_map.frag
interface/resources/shaders/model_shadow_specular_map.frag
interface/resources/shaders/model_specular_map.frag
interface/src/renderer/Model.cpp
interface/src/renderer/Model.h
2014-09-17 13:50:13 -07:00
Atlante45
3751e05ce3
Fixes crash in Model::scaleToFit()
2014-09-17 13:37:16 -07:00
AndrewMeadows
42a84b7ff1
Merge pull request #3429 from ctrlaltdavid/20021
...
Code Review for Job #20021
2014-09-17 09:19:29 -07:00
Andrzej Kapolka
fbd1efad81
Allow specifying material opacity.
2014-09-16 17:52:39 -07:00
David Rowe
a594136a9a
Fix up hand roll, pitch, and yaw as best able for now
2014-09-15 20:12:13 -07:00
Andrzej Kapolka
bfaac9eae1
Deferred lighting tweaks.
2014-09-15 18:38:10 -07:00
Andrzej Kapolka
7580a1da89
Glow fix for simple shader.
2014-09-15 17:33:07 -07:00
Andrzej Kapolka
da05d37015
Leave the glow level alone when writing the deferred-lit bits.
2014-09-15 17:19:15 -07:00
Andrzej Kapolka
580d591dc4
Working on getting glow to work with deferred lighting.
2014-09-15 17:11:36 -07:00
Andrzej Kapolka
0f3a020b5d
Working on getting particles/entities to work with deferred lighting;
...
normalize normals from buffer.
2014-09-15 16:07:48 -07:00
Andrzej Kapolka
467a9582c7
Somehow my reverting the ambient occlusion effect didn't take.
2014-09-15 13:29:03 -07:00
Andrzej Kapolka
70c8c146bc
Fix for specular issue on Nvidia, try passing along material colors.
2014-09-15 12:44:25 -07:00
Andrzej Kapolka
9caa4d3a08
Merge branch 'master' of https://github.com/highfidelity/hifi into deference
2014-09-15 12:19:30 -07:00
Andrzej Kapolka
919112fe7c
Starting to work on handling translucent meshes with deferred lighting.
2014-09-15 12:18:59 -07:00
Andrzej Kapolka
4475759461
Revert the normal-based ambient occlusion; I wasn't crazy about the look of
...
it. Will perhaps revisit later.
2014-09-15 11:52:44 -07:00
David Rowe
3ddd5854cd
Position avatar hands with Leap Motion with no roll, pitch or yaw
2014-09-14 15:03:22 -07:00
ZappoMan
c32d5db75c
fix bug with attachments being stretched
2014-09-13 15:32:21 -07:00
Andrzej Kapolka
e36ff0d238
Fix deferred lighting for rear view mirror.
2014-09-12 18:56:07 -07:00
Andrzej Kapolka
f8772135b1
Color fix.
2014-09-12 18:35:56 -07:00
Andrzej Kapolka
72f38900bb
Fix for blending on models.
2014-09-12 17:31:03 -07:00
Andrzej Kapolka
982ab75b61
Merge branch 'master' of https://github.com/highfidelity/hifi into deference
2014-09-12 17:09:25 -07:00
Andrzej Kapolka
53933fc9c6
Working on deferred lighting for models.
2014-09-12 17:09:07 -07:00
Andrzej Kapolka
3d48a5b872
Merge branch 'master' of https://github.com/highfidelity/hifi into deference
2014-09-12 15:39:52 -07:00
Andrzej Kapolka
97813a2f72
Make sure we note that the blender finished even if the geometry changed.
2014-09-12 15:34:49 -07:00
Andrzej Kapolka
72a6254fa1
Only allow one "blender" to run at a time for each model.
2014-09-12 15:24:38 -07:00
Andrzej Kapolka
d0f30dfd45
Merge branch 'master' of https://github.com/highfidelity/hifi into deference
2014-09-12 14:44:45 -07:00
Andrzej Kapolka
7074d96c04
Working on support for specular components in deferred lights.
2014-09-12 14:11:56 -07:00
Philip Rosedale
3fbe183196
Merge pull request #3402 from ZappoMan/stretchableEntities
...
New Entities Features
2014-09-12 13:57:45 -07:00
ZappoMan
024f1b47c2
Merge branch 'master' of https://github.com/highfidelity/hifi into stretchableEntities
...
Conflicts:
interface/src/entities/RenderableBoxEntityItem.cpp
interface/src/entities/RenderableModelEntityItem.cpp
libraries/entities/src/EntityTreeElement.cpp
libraries/shared/src/Extents.h
2014-09-12 08:18:09 -07:00
Andrzej Kapolka
618f6415da
Working on specular bits for deferred lighting.
2014-09-11 19:36:37 -07:00
Andrzej Kapolka
f954e4d7ea
Fix for deferred lighting on voxels.
2014-09-11 19:06:29 -07:00