Author Topic: crazy thought, SVG textures  (Read 2768 times)

0 Members and 1 Guest are viewing this topic.

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
crazy thought, SVG textures
discuss.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline pecenipicek

  • Roast Chicken
  • 211
  • Powered by copious amounts of coffee and nicotine
    • Skype
    • Steam
    • Twitter
    • PeceniPicek's own deviantart page
Re: crazy thought, SVG textures
you crazy mon. you just crazy.


[edit]
in short, no i dont think it would work in any way, shape or form. Vectors are just not well suited for the type of graphics FSO needs. Except in the cases of mods which might be trying to pull of the good old "cel-shaded" look, but even then, i dont think it'd be all that useful.
Skype: vrganjko
Ho, ho, ho, to the bottle I go
to heal my heart and drown my woe!
Rain may fall and wind may blow,
and many miles be still to go,
but under a tall tree I will lie!

The Apocalypse Project needs YOU! - recruiting info thread.

 

Offline JGZinv

  • 211
  • The Last Dual! Guardian
    • The FringeSpace Conversion Mod
Re: crazy thought, SVG textures
As a modder, what he ^ said...
True power comes not from strength, but from the soul and imagination.
Max to PCS2 to FS2 SCP Guide
The FringeSpace Conversion Mod

 

Offline Talon 1024

  • 29
  • How do you turn this on?
    • Mods, Games, and Stuff
Re: crazy thought, SVG textures
Yeah, but once FSO gets a 'real' material system and more advanced image processing, maybe SVGs can be used to generate simple high-res normal maps...
To understand religion, you need to understand morality first. | WCSaga website | WCSaga Forum | 158th website | 158th forum | Project Leader: WC: Hostile Frontier | WCHF Thread at CIC | Wing Blender | Twist of Fate | Multipart turrets on angled surfaces, tutorial included. | My Google Drive stuff | To convert speeds from WC to WCS, multiply both the cruise speed and the Afterburner speed by 0.15625 (5/32)

FS2 Mods I'm waiting on: Inferno 10th Anniversary
Current Project: Contestant Android app, Learn4Life iOS app, Blender Commander (importer).
The FreeSpace Font Foundry is back in action!

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: crazy thought, SVG textures
you can embed raster elements, and you can do filtering operations, basically you can save PSD files as SVG and not lose anything.

obviusly they would need to be rendered to a raster image before being used in game, but this could provide a mechanism for arbitrarily good looking textures.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Re: crazy thought, SVG textures
From a coder point of view, that probably depends a lot on what libraries are available with compatible licenses.
People are stupid, therefore anything popular is at best suspicious.

Mod management tools     -     Wiki stuff!     -     Help us help you

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grâce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: crazy thought, SVG textures
svgs could save memory, but at the expense of more gpu time at rasterisation. you could also use memory and pre-rasterize them for use as textures, but at that point you might as well do that in your graphics software. given that memory usage is less you can do large animated textures, either frame by frame or as a transformation of elements within the image (like gauges and dials on a control panel). you could do some cool stuff but i dont think there are any games doing this yet.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: crazy thought, SVG textures
it would have to be done the second way, there is no possible way to actually use them as textures in a graphics API sort of sense. the advantage would be in future proofing, there could be a texture detail scaler in the command line that allowed you to set the displayed texture size as high as you wanted.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline DaBrain

  • Screensniper
  • 212
    • Shadows of Lylat board
Re: crazy thought, SVG textures
Sounds like this would be a perfect choice for interface graphics.
They really need to scale well to any resolution the user can set. The 1024*768 artworks are really not enough anymore.
--------------------------------------------------
SoL is looking for a sound effect artist
Please PM me in case you want to apply
---------------------------------
Shadows of Lylat - A Freespace 2 total conversion
(hosted by Game-Warden)
----------------------------------

 

Offline Mongoose

  • Rikki-Tikki-Tavi
  • Global Moderator
  • 212
  • This brain for rent.
    • Steam
    • Something
Re: crazy thought, SVG textures
They are if you run in 1280x960, but I think I'm decidedly in the minority there. :p

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: crazy thought, SVG textures
Sounds like this would be a perfect choice for interface graphics.
They really need to scale well to any resolution the user can set. The 1024*768 artworks are really not enough anymore.

Agreed, svg as an interface graphics format makes much more sense.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: crazy thought, SVG textures
theoretically you could take a vector image and render them to texture to generate appropriate resolution interface textures at runtime. you could even cache the outputs for later loading. opengl is just as good at rendering 2d stuff as it is 3d stuff. that said you would still need to have a built in svg renderer to make this work. if you could output mipped and compressed images you could also use them ingame at no additional cost. i could see these used as material elements for example.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

  

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: crazy thought, SVG textures
theoretically you could take a vector image and render them to texture to generate appropriate resolution interface textures at runtime. you could even cache the outputs for later loading. opengl is just as good at rendering 2d stuff as it is 3d stuff. that said you would still need to have a built in svg renderer to make this work. if you could output mipped and compressed images you could also use them ingame at no additional cost. i could see these used as material elements for example.

this was exactly what I was thinking when I started this thread.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together