Displacement Generator Created 17 years ago2006-12-28 23:47:47 UTC by Penguinboy Penguinboy

Created 17 years ago2006-12-28 23:47:47 UTC by Penguinboy Penguinboy

Posted 17 years ago2006-12-28 23:47:47 UTC Post #207843
As some of you may know, I am making a Displacement Generator, and I would like you to test it!

I am needing to know if it crashes, or doesn't work the way it is supposed to.

I am also needing suggestions on what else I should add in for it to generate.

any feedback is appreciated.

download link: http://users.bigpond.net.au/penguinboy/Twister/Twister.html

note: please don't remove the text files from the program's directory, they are needed for VMF generation, and the program will crash if you do. This will be fixed in a later build.

for a sample of what the program can do, click the link below.
http://img404.imageshack.us/img404/9259/twist60000zm8.jpg
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2006-12-29 02:19:29 UTC Post #207850
I'd love to test it, but can't since I'm officially computerless. I'm just posting to say that the screenshot looks really cool :D
Posted 17 years ago2006-12-29 08:46:21 UTC Post #207856
Yeah I see that twisted corridor from Zelda :D

I spose I could test it but just so you know I will always make my own displacements rather than let a CPU do it for me.
Habboi HabboiSticky White Love Glue
Posted 17 years ago2006-12-29 08:47:19 UTC Post #207858
Hot shit, that twisted corridor looks sexy. I'll try it.

Edit: I tried it, but it doesn't generate a twister... It just generates a big block face that's a displacement map.
Posted 17 years ago2006-12-29 09:40:00 UTC Post #207860
I gave it a quick go..I clicked ok on the settings that were already there and I saved it as twister.vmf

The results are:

http://i28.photobucket.com/albums/c240/Habboi/quicktest.jpg
Habboi HabboiSticky White Love Glue
Posted 17 years ago2006-12-29 09:58:52 UTC Post #207862
ZL: if you got what Habboi posted thats whats it's meant to do

if you want to make a hallway similar to mine you must tilt (either by clicking the disp 3 times or by VM) one edge upward (in the default values) 256 and sideways 256. it defaults to twisting to the center of the displacement, if you want that hallway effect you must move it to make the edge of a wall. (and obviously make 4 for walls and rotate as needed)

dont forget to try out curves and the curved ramps as well!

and i need ideas on what else to add in ;)

oh and about making your own displacements instead of letting the program doing it for you, thats all fine for natural stuff, but try making this kind of stuff using hammer...its impossible
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2006-12-31 06:41:42 UTC Post #208038
New version with option to change displacement power in the curve page.

cmon guys, i need ideas! and please try to crash the program!

http://www.users.bigpond.net.au/penguinboy/Twister/Twister.html
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2006-12-31 10:28:54 UTC Post #208046
Am I guessing this program writes in the language that Hammer understands so this can be done in Hammer but not by using the tools but by writing it using a text editor?

Just curious.
Habboi HabboiSticky White Love Glue
Posted 17 years ago2006-12-31 11:46:15 UTC Post #208052
yep, if you want to do a whole lot of complex calculations ;)
it took me a while to understand the displacement format in the VMF files, and I wouldn't be able to generate anything without my knowledge of conics and trigonometry :)

new version, which finishes everything in the two parts i have done, but i need ideas guys! what else should the program generate?

oh, and a new 'teaser' image or sorts:
http://www.users.bigpond.net.au/penguinboy/images/texalign.jpg
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2006-12-31 12:02:05 UTC Post #208053
Pretty neat! You may want to disable the Maximize button OR use the anchor property of your controls so that they are stretched when maximizing the window.
Posted 17 years ago2006-12-31 12:07:59 UTC Post #208054
damn i disabled resize but forgot maximize :o
next release will have it disabled :P thanks.
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2006-12-31 12:13:03 UTC Post #208055
Also, get rid of the default application icon. Use the same one as your exe icon.

You can also hardly read the text in the textboxes. Use a bigger font size.
Posted 17 years ago2006-12-31 12:20:00 UTC Post #208056
all icons are temporary until i could be bothered to make one (the icon i pinched from the vista icon lot) and the text is from earlier builds where i had to copy/paste the code from the prog into the VMF file - it is no longer needed, but it remains for..something to look at...but when generating displacements at a power of 4 a whole lot of text goes into those boxes (esp the top one) so i made it small so you could see more, even though it still gets cut off...i might make the text larger and add scrollbars eventually...
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2006-12-31 12:26:23 UTC Post #208057
Ya, i think it would be usefull that people can actually see it. In that case you may want to enable the maximize button and allow the program to be ran in full screen mode, with anchors on all of your controls of course.
Posted 17 years ago2006-12-31 12:30:33 UTC Post #208058
Wow, shit.
I love that curve penguin, perfect
Madcow MadcowSpy zappin my udder
Posted 17 years ago2006-12-31 13:20:08 UTC Post #208063
Very impressive lil' program.

I'd say, that a render preview of the created object would be great.
Some nicer icons/tools would be great too.

Still - great work! :)
Daubster DaubsterVault Dweller
Posted 17 years ago2006-12-31 14:35:22 UTC Post #208065
I'm curious, is it possible to make a displacement with a different power for the length and width (such as 2x3, 3x1 etc.)? I don't know if there are any Valve-made constraints that prevent this or not, but it's something i've really wanted to do since Valve introduced these mighty displacments to us.

Very nice proggy, i'll definately use it often when it's ready.
Strider StriderTuned to a dead channel.
Posted 17 years ago2006-12-31 14:40:48 UTC Post #208066
It doesn't work at all for me, all I get is displacement-applied squares
Madcow MadcowSpy zappin my udder
Posted 17 years ago2006-12-31 22:39:48 UTC Post #208098
strider: no
madcow: what were you trying to generate with what values, and post the vmf.
all: now that you have seen how it works, what else should the program generate?!
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2007-01-01 00:35:34 UTC Post #208099
Texture alignment ftw!
AJ AJGlorious Overlord
Posted 17 years ago2007-01-01 03:03:44 UTC Post #208104
is there a possible way to give a preview of what was to be made?
Tetsu0 Tetsu0Positive Chaos
Posted 17 years ago2007-01-01 05:13:59 UTC Post #208115
yep:
User posted image
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2007-01-01 09:09:10 UTC Post #208127
oh noes, another update!
test live preview plz.

http://www.users.bigpond.net.au/penguinboy/Twister/Twister.html
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2007-01-01 09:55:55 UTC Post #208128
Well I didn't save the values I used, but I'll try the new version, and if the same thing happens now I will report with a bit more detail :)

Edit:

I get this:
http://img228.imageshack.us/img228/6097/problem01eo9.jpg
(The image is from hammer, not preview)

With these values:
Width: 256
Length: 512
Radius: 256
Angle: 90
Power: 4
Madcow MadcowSpy zappin my udder
Posted 17 years ago2007-01-01 10:19:49 UTC Post #208129
damn....well i did the exact same values as you and got this
http://img125.imageshack.us/img125/2012/notaproblembh8.jpg

1 - are you running in a language other than english? (it probaby doesnt matter, but just checking)
2 - are you using the QWERTY keyboard? with the regular ASCII set?
3 - have you got the .NET framework 2.0 installed?
4 - can you please post the VMF? you can open in notepad and put in pastebin or something, thx

is anyone else getting these errors?
and does the preview work OK for everyone? any crashes?

please post the VMF, madcow.
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2007-01-01 10:27:13 UTC Post #208130
1. Yes, Swedish
2. Yes, I have QWERT keyboard, but I've no idea if I've got "the regular ASCII set"
3. Yes.
4. http://www.twhl.co.za/mapvault_map.php?id=4358

Tell me when you've downloaded it so I can remove it from ze Vault
Madcow MadcowSpy zappin my udder
Posted 17 years ago2007-01-01 10:33:24 UTC Post #208131
done, looking now.

EDIT: found, its using commas instead of decimal places. this is easily fixed (i hope)
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2007-01-01 10:40:42 UTC Post #208132
Oh, well that's because I use the swedish version of windows, we use commas instrad of decimal places
Madcow MadcowSpy zappin my udder
Posted 17 years ago2007-01-01 10:41:18 UTC Post #208133
Posted 17 years ago2007-01-01 10:59:16 UTC Post #208134
Yeah, it works now!
Sweet
Madcow MadcowSpy zappin my udder
Posted 17 years ago2007-01-01 11:03:34 UTC Post #208135
cool :)
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2007-01-01 13:05:23 UTC Post #208137
Posted 17 years ago2007-01-01 13:41:27 UTC Post #208138
Probably taking the Y,Z coords and telling the system to draw it.
Posted 17 years ago2007-01-01 15:05:21 UTC Post #208142
hahah thats pretty sweet.
awesome.
I still havent figured out how to crash it. Im trying huge numbers and it jus keeps spitting them out.

Still no twist preview? I realise it'd probably be pretty hard, but if it's possible it'd be nice.

EDIT:

Hmm i tried a twist with the default values and i got an error.
User posted image

User posted image


First time this ever happened to me.
Tetsu0 Tetsu0Positive Chaos
Posted 17 years ago2007-01-01 21:07:29 UTC Post #208175
What the! How do you do previewing in VB.NET? :o
hehe
Probably taking the Y,Z coords and telling the system to draw it.
yep :P

tetsuo: i'll look into it.

EDIT: yep, i missed a single line of code...fixed by adding:
m2_3 = m2
however, until I release a new version, you can still make twists with powers of 4 and 2 :P
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2007-01-01 23:25:49 UTC Post #208204
Posted 17 years ago2007-01-01 23:29:51 UTC Post #208205
It's actually distorted a bit just like map projections are inherently distorted. The texture near the outside is streched while the inside is squished. I wonder if you could make a texture specifically for a curve.
Posted 17 years ago2007-01-01 23:35:56 UTC Post #208206
Posted 17 years ago2007-01-01 23:53:03 UTC Post #208212
I guess so, feels guilty.

lol
Posted 17 years ago2007-01-01 23:56:47 UTC Post #208213
new version...twist fixed and works for Swedish people!

http://www.users.bigpond.net.au/penguinboy/Twister/Twister.html

orpheus...i'm not sure what you are on about....you're saying that the texture alignment is good but the program sucks because it is a terrain generator? (it isnt, a terrain generator is for natural stuff, my program makes man-made stuff that you couldnt make in the editor.
please, if you are going/want to give USEFUL advice, tell me what you want/think straight up, instead of saying everything but. I still need ideas of what to add into the program for it to generate.
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2007-01-02 02:17:25 UTC Post #208227
How about domes? or Something of the sort. Like the inside (or outside for that matter) of a hemisphere.
Tetsu0 Tetsu0Positive Chaos
Posted 17 years ago2007-01-02 02:22:55 UTC Post #208228
hmm, thats an idea...you can make domes using a subdivide setup but you cant do it just one brush...and the textures suck.........good idea!
first useful suggestion of what else to generate :)

NEED MORE!
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2007-01-02 06:43:56 UTC Post #208242
Posted 17 years ago2007-01-02 07:21:49 UTC Post #208243
He has a point...All he did was praise it...
Habboi HabboiSticky White Love Glue
Posted 17 years ago2007-01-02 07:25:57 UTC Post #208245
yea nobody could understand that until you translate, habboi

p.s: w00t

edit: neat program
Posted 17 years ago2007-01-02 07:32:34 UTC Post #208246
if you want to say something, say it in a straightforward manner.

the reason the texture alignment is good is because it is a displacement generator, they go hand-in-hand, not separately.

Stop trying to feel superior by using pointlessly overworded sentences that are made to be misunderstood. if you like the texture alignment, say so, like everyone else, and quit beating around the bush.
it is your own fault for whatever you are thinking that i did because i can't understand what you are saying. as i said before:

if you are going/want to give USEFUL advice, tell me what you want/think straight up, instead of saying everything but.

orpheus: constructive criticism is accepted, but not your all-over-the-place posts are not. please make sense or stop posting.

if i cant understand a post, i will not be able to reply appropriately.

sajo: thats the kind of stuff i can understand :P
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2007-01-02 07:43:25 UTC Post #208248
Posted 17 years ago2007-01-02 07:47:27 UTC Post #208250
Good god I hate this site sometimes.

Both of you, stop your petty shit and get over it.
AJ AJGlorious Overlord
Posted 17 years ago2007-01-02 07:55:41 UTC Post #208252
[ontopic - OMG]

I still need ideas of what to add into the program for it to generate.

...but don't chuck a Hugh and say 'tits' ;)
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2007-01-02 11:25:50 UTC Post #208273
You must be logged in to post a response.