Robert Osfield
24bec09b9e
Removed the glyph image outline support as it's no longer required.
2017-10-13 13:01:57 +01:00
Robert Osfield
8b12d2d71a
Deprecated Text:BackdropImplementation, removing the backend as it no longer required when using shaders for backdrop effects
2017-10-13 11:42:25 +01:00
Robert Osfield
7fb37016fd
Merge branch 'master' into text_improvements
2017-10-05 12:14:03 +01:00
Robert Osfield
d2fa7c4317
Simplified and improved the glyph margin computation and usage
2017-09-29 20:21:13 +01:00
Robert Osfield
468d6d8eea
Added command line support for specifying "default" for osgText::DefaultFont
2017-09-29 10:20:59 +01:00
Robert Osfield
726bb13e9a
Improved the setup of the --counter test
2017-09-29 09:54:43 +01:00
Robert Osfield
8c575c0cea
UPdated from OpenSceneGraph-Data with handling of non textured text decoration
2017-09-26 15:32:41 +01:00
Robert Osfield
b6bb0caf8d
Removed debug output
2017-09-21 16:04:10 +01:00
Robert Osfield
4b6722ab44
Added assignStateSet() to Text::setBackgroundColor()
2017-09-21 16:01:27 +01:00
Robert Osfield
12904105f8
Added support for toggling on use of the new SignedDistanceFunction function now built into osgText, just use --sdf to enable.
2017-09-21 15:52:07 +01:00
Robert Osfield
a1f519cbec
Removed debug info
2017-09-21 15:41:21 +01:00
Robert Osfield
fb0a995d7b
cleaned up exmple
2017-09-20 14:30:23 +01:00
Robert Osfield
5ade852172
Added constant sizeing vs changing label size relatve to font resolution, controlled by --constant-size and --scale-size command line options.
2017-09-15 15:14:19 +01:00
Robert Osfield
1e11b89d04
Added --shadow-* command line variants to provide full control over the position of the text shadow
2017-09-13 11:08:51 +01:00
Robert Osfield
0d5a42f635
Added setting of the Text::BackdropImplementation type to USE_SHADERS when setting up shaders
2017-09-12 19:13:01 +01:00
Robert Osfield
f98c23d460
Added extra command line paramter and osgText::Font settings to add better control of osgText::GlyphTexture generation to support signed distance field and outline image data.
2017-09-08 17:03:15 +01:00
Robert Osfield
77d4705182
Added KeyHandler for toggling "SIGNED_DISTANCE_FIELD" and "OUTLINE" #pragma(tic) shader defines to control the different shader paths.
...
Keys to press are 'd' for toggle SIGNED_DISTANCE_FIELD and 'o' for OUTLINE.
2017-09-06 16:53:54 +01:00
Robert Osfield
20ee12e986
To control the GlyphTexture Min/MagFilter values Added --min <value> and --mag <value> filter with LINEAR, NEAREST and LINEAR_MIPMAP_LINER options for values
2017-09-06 10:40:05 +01:00
Konstantin S. Matveyev
ca42523cd0
example_osgtext3d: more options for testing
2017-09-04 11:44:30 +03:00
Robert Osfield
07a8d082e4
Added --shader filename command line parsing and associated set up of osg::Program to allow shaders to be passed into example to customize rendering
2017-08-30 17:43:29 +01:00
Robert Osfield
81f93e34b8
Added --interval value commnad line option for setting the Font::setGlyphInterval() to experimentation of clamping of glyph images to user specified intervals in the glyph texture
2017-08-30 16:22:25 +01:00
Robert Osfield
7323bb776b
Added --margin texel_width and --margin-ration ratio to control the spacing between glyphs in the font.
2017-08-30 10:50:26 +01:00
Robert Osfield
20ecd5c60d
Added --test command line option that sets up all the sizes and font settings required for a useufl unit test.
2017-08-30 10:16:18 +01:00
Robert Osfield
5566a025b5
Added TextSettings struct to manage values used to set up the text. with the addition of following command line parameters:
...
--outline // enable outlne
--shadow // enable shadow
--offset ratio // set the backdrop offset
--text-color r g b a // set the text body color
--bd-color r g b a // set the shadow/outline color
--bg-color r g b a // window background color
-o filename // write create subgraph to disk using specified filename
2017-08-29 17:19:26 +01:00
Robert Osfield
37487b0c0b
Added --ortho command line option to toggle use of orthographic camera or default perspective one
2017-08-29 13:48:06 +01:00
Robert Osfield
c36e47188b
Added argument parsing to viewer constructor
2017-08-29 12:21:14 +01:00
Michael Kapelko
871d8c54ec
Fix Emscripten build errors
2017-08-26 19:25:00 +03:00
Julien Valentin
2d1aaedb9c
fix osggpucull to fit both new BIB and MDI
2017-08-24 14:20:10 +02:00
Julien Valentin
107b7be95b
Merge remote-tracking branch 'upstream/master' into MDI7
2017-08-24 11:26:23 +02:00
Julien Valentin
3de1ce062c
comply with osg::BufferIndexBinding new design (a miss)
2017-08-24 10:29:19 +02:00
Julien Valentin
d49f0d67af
change the design of BufferIndexBinding to work with BufferData instead of BufferObject
...
allow convenient BufferData abstraction + serialization of BufferIndexBinding
2017-08-24 03:28:55 +02:00
OpenSceneGraph git repository
bfbaecaf49
Merge pull request #300 from eligovision/master
...
Text3D character/glyph size fix
2017-08-16 11:30:14 +01:00
konstantin.matveyev
237ab29ff8
Merge remote-tracking branch 'upstream/master'
2017-08-15 22:15:31 +03:00
konstantin.matveyev
b0ef9b0c42
Text3D character/glyph size fixed
2017-08-15 22:11:15 +03:00
luzpaz
2cd31f65e4
misc. typo fixes
...
mostly non-user-facing but some doxy.
2017-08-15 12:23:49 -04:00
Robert Osfield
7b2dbc603c
Fixed warning
2017-08-15 16:35:23 +01:00
Julien Valentin
9e9d3cd249
fix a bug : indices pre incremented should be post
2017-07-31 03:15:03 +02:00
Julien Valentin
3537460b0e
Add arguments, command line usage and use DrawElementsUInt for classic case
2017-07-31 03:10:19 +02:00
Julien Valentin
aac146c7bc
correct a bug and make it more conservative
2017-07-31 02:43:50 +02:00
Julien Valentin
d810d4a4c0
add a very simple example for mdi with basevertex
2017-07-30 10:28:56 +02:00
mp3butcher
a45c4c8f39
set DIBO of the drawcommandarray directly in their interface constructor
...
it makes osggpu use case lighter + drawcommandarray can't exist without a BO
2017-07-27 12:27:55 +02:00
mp3butcher
104b2dfc72
Promote PrimitiveSetIndirect's VBO to a target explicited DIBO (in order to benefit from BOSet queue management)
2017-07-27 12:13:05 +02:00
mp3butcher
f27c379b1e
some renaming and harmonisations with osg metamodel convention
2017-07-26 23:36:55 +02:00
mp3butcher
5be14bc2ba
first commit for Indirect Draw integration in osg
...
users will have to implement interfaces for their custom drawcommandarrays
add a lot of new primitive set + few defines
integration is made in osggpucull
2017-07-26 21:20:28 +02:00
Michael Kapelko
f992ec1440
Add osgemscripten example
2017-06-22 09:44:06 +07:00
blobfish
69e1df6b65
examples: osgkeyboardmouse: add primitive index to LineSegmentIntersector output
2017-06-04 17:29:57 -04:00
Robert Osfield
502acc19c9
Build fix
2017-05-25 09:54:11 +01:00
Robert Osfield
8c54a49319
Replaced deprecated API usage
2017-05-24 19:39:36 +01:00
Robert Osfield
6d46a35900
Aded --dim-mask mask and --dm mask command line option for setting the PolytopeIntersector::setDimensionsMask().
2017-05-24 18:36:31 +01:00
Robert Osfield
9738d19343
Build fix.
2017-05-11 16:27:20 +01:00