Creating circular geometry

Creating circular geometry

Postby Jamestonjes » 07 May 2013, 16:00

This may sound stupid, but may be a tool/grid/something/option to make circles easier to make (please tell me if there is one as this will make "life" a lot easier)
In game name: MaxPayne >DOOM<
maps: Nameless,Pillars of Doom(incomplete)
User avatar
Jamestonjes
 
Posts: 100
Joined: 18 Apr 2013, 15:37
Location: South Africa

Re: HOWTO: Submit your content, idea, proposal, or issue

Postby qreeves » 08 May 2013, 03:25

Jamestonjes {l Wrote}:This may sound stupid, but may be a tool/grid/something/option to make circles easier to make (please tell me if there is one as this will make "life" a lot easier)

You already failed, you got step one, but step two:
- Then, create a thread for it, either in Maps & Mods for content, or General Discussion for ideas/proposals.


I should note you'll never create a perfect circle, I'd suggest looking up Cube 2 / Sauerbraten editing tutorials for information on how to deform the octree well.
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: HOWTO: Submit your content, idea, proposal, or issue

Postby greaserpirate » 08 May 2013, 03:51

Jamestonjes {l Wrote}:This may sound stupid, but may be a tool/grid/something/option to make circles easier to make (please tell me if there is one as this will make "life" a lot easier)


Just remember: 1-3-8. (push the first corner once, second corner 3 times, third corner 8 times).

Friendship is Magic Voice Chat Mod
(Map) Trespass
(Map) Suspended
Find out more about >DOOM< here: www.redoomclan.tk
User avatar
greaserpirate
 
Posts: 350
Joined: 22 Jun 2011, 18:23

Re: HOWTO: Submit your content, idea, proposal, or issue

Postby Jamestonjes » 08 May 2013, 14:48

OK thank you will try both of your advice
In game name: MaxPayne >DOOM<
maps: Nameless,Pillars of Doom(incomplete)
User avatar
Jamestonjes
 
Posts: 100
Joined: 18 Apr 2013, 15:37
Location: South Africa

Re: HOWTO: Submit your content, idea, proposal, or issue

Postby Calinou » 31 Jul 2013, 13:23

greaserpirate {l Wrote}:
Jamestonjes {l Wrote}:This may sound stupid, but may be a tool/grid/something/option to make circles easier to make (please tell me if there is one as this will make "life" a lot easier)


Just remember: 1-3-8. (push the first corner once, second corner 3 times, third corner 8 times).


That makes low-quality circles.

Brushes for better circles: https://dl.dropboxusercontent.com/u/823 ... rushes.zip

(yes, bump, but still. :P)
User avatar
Calinou
 
Posts: 171
Joined: 22 Jan 2010, 21:43
Location: France

Re: HOWTO: Submit your content, idea, proposal, or issue

Postby Ulukai » 31 Jul 2013, 16:13

Calinou {l Wrote}:
greaserpirate {l Wrote}:
Jamestonjes {l Wrote}:This may sound stupid, but may be a tool/grid/something/option to make circles easier to make (please tell me if there is one as this will make "life" a lot easier)


Just remember: 1-3-8. (push the first corner once, second corner 3 times, third corner 8 times).


That makes low-quality circles.

Brushes for better circles: https://dl.dropboxusercontent.com/u/823 ... rushes.zip

(yes, bump, but still. :P)

It might be a stupid question, but how do you use these brushes?
User avatar
Ulukai
 
Posts: 741
Joined: 19 Mar 2011, 10:55
Location: Mechelen, Belgium

Re: HOWTO: Submit your content, idea, proposal, or issue

Postby Sniper-Goth » 31 Jul 2013, 18:04

Ulukai {l Wrote}: It might be a stupid question, but how do you use these brushes?


Make a geometry, type /savebrush NAMEOFTHEBRUSH to save a brush for future use, and /pastebrush NAMEOFTHEBRUSH to paste it.
It doesn't work online though.
Red Eclipse in game name: Sniper-Goth/Sniper-quake3. Maps in the making: DOTA style map, ringed, train, ladder race,.
User avatar
Sniper-Goth
 
Posts: 221
Joined: 27 Aug 2012, 20:10

Re: HOWTO: Submit your content, idea, proposal, or issue

Postby Ulukai » 31 Jul 2013, 20:09

Nice to know, thanks! Now you say so, I think I read it on the wiki once but I must have forgotten about it...
User avatar
Ulukai
 
Posts: 741
Joined: 19 Mar 2011, 10:55
Location: Mechelen, Belgium

Re: HOWTO: Submit your content, idea, proposal, or issue

Postby Calinou » 01 Aug 2013, 10:40

Sniper-Goth {l Wrote}:
Ulukai {l Wrote}: It might be a stupid question, but how do you use these brushes?


Make a geometry, type /savebrush NAMEOFTHEBRUSH to save a brush for future use, and /pastebrush NAMEOFTHEBRUSH to paste it.
It doesn't work online though.


You can use /nompedit 0, paste your brush/use heightmap/vcommands/blendmap/whatever, then /sendmap and ask the other players to /getmap.
User avatar
Calinou
 
Posts: 171
Joined: 22 Jan 2010, 21:43
Location: France

Re: HOWTO: Submit your content, idea, proposal, or issue

Postby TristamK » 01 Aug 2013, 11:52

Sniper-Goth {l Wrote}:
Make a geometry, type /savebrush NAMEOFTHEBRUSH to save a brush for future use, and /pastebrush NAMEOFTHEBRUSH to paste it.
It doesn't work online though.


Fu....WHY I DON"T KNOW ABOUT THIS THING BEFORE ?? I could have avoided so many problems with help this thing....
Last edited by TristamK on 01 Aug 2013, 18:51, edited 1 time in total.
Sorry for my bad English. Sometimes i use google translator.
The official group of the Cube 2 Sauerbraten and Red Eclipse in vkontakte -> https://vk.com/cube_engine_news - VK support English too ;) . Also you can find all news about Cube 2\Red Eclipse in this group too
Topic with FULL information about Time-Trial . All maps , video , tutorials here . Also here you can see all best times on maps .
My youtube chanel
User avatar
TristamK
 
Posts: 274
Joined: 30 Oct 2011, 11:47
Location: Belorus

Re: Creating circular geometry

Postby Ulukai » 01 Aug 2013, 13:01

Once I created a basic shape and I need to reuse it in another map I make I usually just copy-paste it between those maps. You can perfectly copy stuff from map A, then load map B and paste it in there ^^
You can do the same with entities.
User avatar
Ulukai
 
Posts: 741
Joined: 19 Mar 2011, 10:55
Location: Mechelen, Belgium

Re: Creating circular geometry

Postby TristamK » 01 Aug 2013, 13:52

Ulukai {l Wrote}:Once I created a basic shape and I need to reuse it in another map I make I usually just copy-paste it between those maps. You can perfectly copy stuff from map A, then load map B and paste it in there ^^
You can do the same with entities.

Sure. Before this tip with brushes i did the same. But now i can use brushes and it is much more easy)
Sorry for my bad English. Sometimes i use google translator.
The official group of the Cube 2 Sauerbraten and Red Eclipse in vkontakte -> https://vk.com/cube_engine_news - VK support English too ;) . Also you can find all news about Cube 2\Red Eclipse in this group too
Topic with FULL information about Time-Trial . All maps , video , tutorials here . Also here you can see all best times on maps .
My youtube chanel
User avatar
TristamK
 
Posts: 274
Joined: 30 Oct 2011, 11:47
Location: Belorus

Re: Creating circular geometry

Postby greaserpirate » 01 Aug 2013, 17:54

Brushes are really useful, and I never knew about that /nompedit command :) .

Calinou's high-quality circle brushes inspired me to make a quick circle compass that can save a lot of time. I made 8 brushes of different sizes (1x1, 2x2, 3x3, etc) for each of the types of circle: outside, inside, and both. You can place any of them by putting the "circles" folder in your "brush" folder (in your Red Eclipse directory in My Documents for windows and home/.redeclipse for *nix), and adding this code to your autoexec.cfg file (or putting the "quickcircles.cfg file in your RE directory and adding the line "exec quickcircles.cfg"):

{l Code}: {l Select All Code}
newcompass quickcircles "textures/editing" [
    compass "outer" "O" [showcompass circle_o]
    compass "inner" "I" [showcompass circle_i]
    compass "both" "B" [showcompass circle_i_o]
]

newcompass circle_o "textures/hud/blip" [
    compass "1x1 (low-quality)" "1" [pastebrush brush/circles/circle_o_1]
    compass "2x2" "2" [pastebrush brush/circles/circle_o_2]
    compass "3x3" "3" [pastebrush brush/circles/circle_o_3]
    compass "4x4" "4" [pastebrush brush/circles/circle_o_4]
    compass "5x5 (low-quality)" "5" [pastebrush brush/circles/circle_o_5]
    compass "6x6" "6" [pastebrush brush/circles/circle_o_6]
    compass "7x7" "7" [pastebrush brush/circles/circle_o_7]
    compass "8x8" "8" [pastebrush brush/circles/circle_o_8]
]


newcompass circle_i "textures/radiodisable" [
    compass "1x1 (lower quality) " "1" [pastebrush brush/circles/circle_i_1]
    compass "2x2" "2" [pastebrush brush/circles/circle_i_2]
    compass "3x3" "3" [pastebrush brush/circles/circle_i_3]
    compass "4x4" "4" [pastebrush brush/circles/circle_i_4]
    compass "5x5 (broken)" "5" [pastebrush brush/circles/circle_i_5]
    compass "6x6" "6" [pastebrush brush/circles/circle_i_6]
    compass "7x7" "7" [pastebrush brush/circles/circle_i_7]
    compass "8x8" "8" [pastebrush brush/circles/circle_i_8]
]

newcompass circle_i_o "textures/progress" [
    compass "9x9" "9" [pastebrush brush/circles/circle_i_o_9]
    compass "2x2" "2" [pastebrush brush/circles/circle_i_o_2]
    compass "3x3" "3" [pastebrush brush/circles/circle_i_o_3]
    compass "4x4" "4" [pastebrush brush/circles/circle_i_o_4]
    compass "5x5" "5" [pastebrush brush/circles/circle_i_o_5]
    compass "6x6" "6" [pastebrush brush/circles/circle_i_o_6]
    compass "7x7" "7" [pastebrush brush/circles/circle_i_o_7]
    compass "8x8" "8" [pastebrush brush/circles/circle_i_o_8]
]


Then just bind a key to "showcompass quickcircles" (I use N), select what type of circle and what dimensions, and you're set.

You can also do it at lightning speed by pressing the key you've bount it to, "i" for inner, "o" for outer, or "b" for both, and then press the number key of the dimensions you want.

Hopefully this will make editing much smoother for both pros and beginners! And hopefully others will contribute their own time-saving brushes and menus ;)
Attachments
quickcircles.zip
(11.62 KiB) Downloaded 339 times

Friendship is Magic Voice Chat Mod
(Map) Trespass
(Map) Suspended
Find out more about >DOOM< here: www.redoomclan.tk
User avatar
greaserpirate
 
Posts: 350
Joined: 22 Jun 2011, 18:23

Re: Creating circular geometry

Postby bonifarz » 02 Aug 2013, 17:26

greaserpirate {l Wrote}:Calinou's high-quality circle brushes inspired me to make a quick circle compass that can save a lot of time.

This tool looks great. I have the impression those 5kB of obr files deserve to be shipped with the next release, as they seem really useful. Maybe your compasses can merged with the edit menu and the awesome gui by S.E.S..

The only thing I don't fully understand is the way you guys are counting cubes. The o2 and o4 seem to be scaled versions of the o8, with the same level of detail (8x8 per quarter), and the o1 looks like 4x4 per quarter. Anyway, good stuff, thanks for sharing!
User avatar
bonifarz
 
Posts: 379
Joined: 09 Apr 2012, 12:16
Location: switzerland

Re: Creating circular geometry

Postby Jamestonjes » 03 Aug 2013, 14:42

cool thank you for this ^^
In game name: MaxPayne >DOOM<
maps: Nameless,Pillars of Doom(incomplete)
User avatar
Jamestonjes
 
Posts: 100
Joined: 18 Apr 2013, 15:37
Location: South Africa

Re: Creating circular geometry

Postby Dratz-_C » 01 Sep 2013, 07:11

greaserpirate {l Wrote}:Then just bind a key to "showcompass quickcircles" (I use N)[...].

Does that interfere with selecting entities with the N key? Fearing that it would, I set mine as follows.
editbind KP_MULTIPLY [showcompass quickcircles]
It is the asterisk or star on the numberpad. As far as I know, nothing else is bound to it and it looks round enough to recognize.

Thanks Greaserpirate and Calinou!
Cheers
User avatar
Dratz-_C
 
Posts: 409
Joined: 03 Mar 2012, 00:13
Location: North Carolina, United States of America

Re: Creating circular geometry

Postby bonifarz » 01 Sep 2013, 08:24

Dratz-_C, if you are not sure about conflicts with key binds, there is actually a script for parsing them contained in the awesome GUI by S.E.S.. Otherwise, you can look up all defaults in data/config/setup.cfg.


EDIT:
I find the idea to have brush objects for some of the more tedious geometric primitives quite nice.
As I came across a nice map with templates on quadropolis, I took my time to port it to RE, scan it for useful stuff, apply the checkerboard texture, count the cubes and collect brush objects with a reasonable nomenclature.
I would like to share this here together with a bunch of sphere objects, as it may be useful for editing. I have not made a script in the spirit of greaserpirate's quickcircles, but that should not be difficult to add if needed.
Sticking a legal info to a random collection of geometry objects feels odd, but i guess cc-by-sa cannot be wrong.

EDIT2: Here is a snippet of cubescript i find useful in this context:
{l Code}: {l Select All Code}
newgui brushes [
    guitext "Select a brush to paste:"
        guibar
        guilist [
        looplist dir ". v s circles" [
           guibar
           guilist [
               guitext $dir
               guibar
               loopfiles i (concatword "brush/" $dir) obr [
                   guibutton $i [
                       pastebrush brush/@dir/@i
                   ]
               ]
           ]
        ]
    ]
]
Attachments
roundshapes.zip
contains 28 round brush objects and a one way cube.
(33.85 KiB) Downloaded 290 times
User avatar
bonifarz
 
Posts: 379
Joined: 09 Apr 2012, 12:16
Location: switzerland

Who is online

Users browsing this forum: No registered users and 1 guest