Random WIP 2014+ - Page 15

Random WIP 2014+

Share and discuss visual creations and creation practices like texturing, modelling and musing on the meaning of life.

Moderators: MR.D, Moderators

User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6106
Joined: 29 Apr 2005, 01:14

Re: Random WIP 2014+

Post by FLOZi » 14 Nov 2014, 19:03

Image
Strv m/41 II

Image
SAV m/43

Image
Strv m/42

Image
BBV m/42
0 x

User avatar
Anarchid
Posts: 1380
Joined: 30 Nov 2008, 04:31

Re: Random WIP 2014+

Post by Anarchid » 20 Nov 2014, 12:19

I'm trying to write a volumetric shader for a map.

It has issues.

Image

I'm using this thread as a failblog it seems. First AI failures, now this.
0 x

User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10223
Joined: 24 Jan 2006, 21:12

Re: Random WIP 2014+

Post by PicassoCT » 20 Nov 2014, 18:45

The ghost of shodan is haunting you. You must sacrifice a chicken at twelfe on the server of the bloody Dark Horse Samedi :)

Also if we do not talk about FLOZis awesome Killing spree above our heads - he might take it back, and post it one picture at a time ;)
0 x

User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6106
Joined: 29 Apr 2005, 01:14

Re: Random WIP 2014+

Post by FLOZi » 20 Nov 2014, 19:19

Really all credit goes to yuri for the models and textures, I just did some post processing.
0 x

User avatar
Anarchid
Posts: 1380
Joined: 30 Nov 2008, 04:31

Re: Random WIP 2014+

Post by Anarchid » 24 Nov 2014, 12:27

Image
Now just to find a cheap way to generate a non-debug volume texture :P
0 x

User avatar
Anarchid
Posts: 1380
Joined: 30 Nov 2008, 04:31

Re: Random WIP 2014+

Post by Anarchid » 05 Dec 2014, 13:54

Image
getting there....
0 x

User avatar
smoth
Posts: 22297
Joined: 13 Jan 2005, 00:46

Re: Random WIP 2014+

Post by smoth » 05 Dec 2014, 16:54

cool, get it to be tintable and move slowly and I would add that to my mesa desert map. I love shit like this. I rather like spottiness of it.
0 x

User avatar
scifi
Posts: 848
Joined: 10 May 2009, 12:27

Re: Random WIP 2014+

Post by scifi » 06 Dec 2014, 13:38

thats some shader love right there,
0 x

User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Random WIP 2014+

Post by knorke » 06 Dec 2014, 15:17

As follow-up to previous page, applying texture when drawing feature.
Actually is really simple and wiki is correct:

Code: Select all

gl.Texture(0,"$units1")	--this works for 3do
gl.Texture(0,"%" .. -drawDefID .. ":0") --this works for s3o. note NEGATIVE!
Not sure why it did not work before, maybe had been confused by the negative thing, at some point it had been game.maxUnits+featurededID but then got changed: https://github.com/spring/spring/commit ... 46da70e19a

So something like this works in spring 98 to draw both s3o and 3do features:
(does ofc not draw anything on features without model (like engine trees), maybe save the string instead of generating it each drawframe etc blabla)

Code: Select all

function widget:DrawWorld()
...
gl.Texture (0, featureTexture (drawDefID))
...
gl.FeatureShape(drawDefID,1)
..
end

function featureTexture (featureDefID)
	local modelname = FeatureDefs[featureDefID].modelname
	if (string.sub (modelname, -3) =="s3o") then --last 3 letters: either "s3o" or "3do"
		return "%" .. -featureDefID .. ":0"
	else
		return "$units1"
	end
end
0 x

User avatar
Anarchid
Posts: 1380
Joined: 30 Nov 2008, 04:31

Re: Random WIP 2014+

Post by Anarchid » 07 Dec 2014, 01:01

get it to be tintable and move slowly
It's semi-tintable already (highlights are based on map ground specular lighting color), and it scrolls with wind (looks extra cool with windmills in games that use windmills).

Going to make its diffuse color also tintable (as a separate setting) and make scale configurable, but there's a riviting flaw with the (vastly cheaper) version of noise that works by sampling a "random" texture. Namely, for coordinates, the X of which is an integer multiple of noiseScale, the function mapClouds returns values too close to zero for comfort (that is, for lighting to not fuckup the scene). And i'm having issues figuring this out. >.<

Might have to just use (expensive) fully procedural noise :(

P.S. the pic, showing both lighting and void slices.
Image
0 x

User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10223
Joined: 24 Jan 2006, 21:12

Re: Random WIP 2014+

Post by PicassoCT » 07 Dec 2014, 10:25

I for once welcome our new fog of war - battledust and smokepillar overlords
0 x

User avatar
scifi
Posts: 848
Joined: 10 May 2009, 12:27

Re: Random WIP 2014+

Post by scifi » 07 Dec 2014, 14:33

Yeah it looks interesting, besides im interested to see how much fps does that shader consume.

I guess i havent posted random 3d models in some time, heres one more.
Image
0 x

User avatar
smoth
Posts: 22297
Joined: 13 Jan 2005, 00:46

Re: Random WIP 2014+

Post by smoth » 07 Dec 2014, 15:01

Love it!
0 x

User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10223
Joined: 24 Jan 2006, 21:12

Re: Random WIP 2014+

Post by PicassoCT » 08 Dec 2014, 08:58

scifi wrote:Yeah it looks interesting, besides im interested to see how much fps does that shader consume.

I guess i havent posted random 3d models in some time, heres one more.
Image
Its great.. though clearly created under the Influence of PA_Narcotics :)

The shadder of anarchid should not eat frames? Shadders are massive parallel calced on the gfx card, every frame, thus frames should be the same?
0 x

User avatar
scifi
Posts: 848
Joined: 10 May 2009, 12:27

Re: Random WIP 2014+

Post by scifi » 13 Dec 2014, 01:52

PicassoCT wrote:
scifi wrote:Yeah it looks interesting, besides im interested to see how much fps does that shader consume.

I guess i havent posted random 3d models in some time, heres one more.
Image
Its great.. though clearly created under the Influence of PA_Narcotics :)

The shadder of anarchid should not eat frames? Shadders are massive parallel calced on the gfx card, every frame, thus frames should be the same?
hahahaah yeah narcotics have a strong effect. :mrgreen:

About framerates, from what i know as a newcomer to computer graphics, yes of course it impacts framerate now everything that forces the GPU to work harder will consume more framerate.

Like you have a GPU vertex shader to process every vertex on a scene and a fragment shader to process and assign the color of each pixel, every single thing that works between these two or after will envolve an alteration of color on the framebuffer(which is your game`s window).

Even post processing effects which means effects that happen after the normal rendering pipeline of the game envolve consuming frames even if its a completly different engine processing and rendering those things you would have to eventualy merge the result from the regular game and the effect you want to place on top of it.

But then again i consider a frame to be the full result of what you want to render.
0 x

User avatar
smoth
Posts: 22297
Joined: 13 Jan 2005, 00:46

Re: Random WIP 2014+

Post by smoth » 13 Dec 2014, 18:56

spring is using one arm tied behind it's back if you do not leverage the user's GPU.
0 x

User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Random WIP 2014+

Post by knorke » 13 Dec 2014, 19:25

Image
Attachments
something is missing.png
(124.52 KiB) Not downloaded yet
0 x

User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10223
Joined: 24 Jan 2006, 21:12

Re: Random WIP 2014+

Post by PicassoCT » 14 Dec 2014, 19:30

NO.. its perfect.. pure as it is.. not another futuristic knights armour thrice the scale.. it
0 x

User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Re: Random WIP 2014+

Post by Pressure Line » 18 Dec 2014, 12:14

Anarchid wrote:Namely, for coordinates, the X of which is an integer multiple of noiseScale, the function mapClouds returns values too close to zero for comfort (that is, for lighting to not fuckup the scene). And i'm having issues figuring this out. >.<

Might have to just use (expensive) fully procedural noise :(
Can't you just use a MAX operator? Just have it return the result of mapClouds or 0.1 (or whatever is the lowest 'good' value) ??
0 x

User avatar
Anarchid
Posts: 1380
Joined: 30 Nov 2008, 04:31

Re: Random WIP 2014+

Post by Anarchid » 18 Dec 2014, 12:29

Can't you just use a MAX operator? Just have it return the result of mapClouds or 0.1 (or whatever is the lowest 'good' value) ??
That's been fixed ;)

Simply giving it a minimum value would still leave the void visible to humans' quite potent pattern recognition though; the solution lied elsewhere.

(namely, my lookup texture was subtly wrong)
0 x

Locked

Return to “Art & Modelling”