Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a new "Render" menu with detailed options #58

Closed
dGr8LookinSparky opened this issue Oct 18, 2017 · 1 comment
Closed

Create a new "Render" menu with detailed options #58

dGr8LookinSparky opened this issue Oct 18, 2017 · 1 comment
Assignees

Comments

@dGr8LookinSparky
Copy link

dGr8LookinSparky commented Oct 18, 2017

From our current in-game renderer menu on GrangerLab:
screenshot

/////// OpenGL2 Options

    itemDef
    {
      name system
      text "OpenGL2"
      group optionsGrp
      style WINDOW_STYLE_EMPTY
      rect 0 ((2*BORDER)+TOPBUTT_H+(5*SIDEBUTT_H)) SIDEBUTT_W SIDEBUTT_H
      type ITEM_TYPE_BUTTON
      textalign ALIGN_RIGHT
      textvalign VALIGN_CENTER
      textscale .25
      forecolor 1 1 1 1
      visible MENU_FALSE
      action
      {
        play "sound/misc/menu1.wav";
        hide optionsGrp;
        show system;
        show gl2options
      }
    }
	
	itemDef
    {
      name gl2options
      group optionsGrp
      type ITEM_TYPE_MULTI
      text "Enabled Renderer:"
      cvar "cl_renderer"
      cvarStrList { "OpenGL2 (new)", "opengl2",
                    "OpenGL1 (old)", "opengl1" }
      rect SCONTENT_X (SCONTENT_Y+(0*ELEM_H)) SCONTENT_W ELEM_H
      textalign ALIGN_RIGHT
      textvalign VALIGN_CENTER
      textalignx SCONTENT_OFF
      textscale .25
      forecolor 1 1 1 1
      visible MENU_FALSE
      action
      {
        play "sound/misc/menu1.wav";
        exec "vid_restart"
      }
    }
	
	itemDef
    {
      name gl2options
      group optionsGrp
      type ITEM_TYPE_YESNO
      text "Physically Based Rendering:"
      cvar "r_pbr"
      rect SCONTENT_X (SCONTENT_Y+(1*ELEM_H)) SCONTENT_W ELEM_H
      textalign ALIGN_RIGHT
      textvalign VALIGN_CENTER
      textalignx SCONTENT_OFF
      textscale .25
      forecolor 1 1 1 1
      visible MENU_TRUE
      action
      {
        play "sound/misc/menu1.wav";
		exec "vid_restart"
      }
    }
	
	itemDef
    {
      name gl2options
      group optionsGrp
      type ITEM_TYPE_YESNO
      text "Normal (Bump) Maps:"
      cvar "r_normalMapping"
      rect SCONTENT_X (SCONTENT_Y+(2*ELEM_H)) SCONTENT_W ELEM_H
      textalign ALIGN_RIGHT
      textvalign VALIGN_CENTER
      textalignx SCONTENT_OFF
      textscale .25
      forecolor 1 1 1 1
      visible MENU_TRUE
      action
      {
        play "sound/misc/menu1.wav";
		exec "vid_restart"
      }
    }
	
	itemDef
    {
      name gl2options
      group optionsGrp
      type ITEM_TYPE_YESNO
      text "Naively Generate Normal Maps:"
      cvar "r_genNormalMaps"
      rect SCONTENT_X (SCONTENT_Y+(3*ELEM_H)) SCONTENT_W ELEM_H
      textalign ALIGN_RIGHT
      textvalign VALIGN_CENTER
      textalignx SCONTENT_OFF
      textscale .25
      forecolor 1 1 1 1
      visible MENU_TRUE
      action
      {
        play "sound/misc/menu1.wav";
		exec "vid_restart"
      }
    }
	
	itemDef
    {
      name gl2options
      group optionsGrp
      type ITEM_TYPE_YESNO
      text "Ambient Occlusion (SSAO):"
      cvar "r_ssao"
      rect SCONTENT_X (SCONTENT_Y+(4*ELEM_H)) SCONTENT_W ELEM_H
      textalign ALIGN_RIGHT
      textvalign VALIGN_CENTER
      textalignx SCONTENT_OFF
      textscale .25
      forecolor 1 1 1 1
      visible MENU_TRUE
      action
      {
        play "sound/misc/menu1.wav";
		exec "vid_restart"
      }
    }
	
	itemDef
    {
      name gl2options
      group optionsGrp
      type ITEM_TYPE_YESNO
      text "Post Processing:"
      cvar "r_postProcess"
      rect SCONTENT_X (SCONTENT_Y+(5*ELEM_H)) SCONTENT_W ELEM_H
      textalign ALIGN_RIGHT
      textvalign VALIGN_CENTER
      textalignx SCONTENT_OFF
      textscale .25
      forecolor 1 1 1 1
      visible MENU_TRUE
      action
      {
        play "sound/misc/menu1.wav";
      }
    }
	
	itemDef
    {
      name gl2options
      group optionsGrp
      type ITEM_TYPE_YESNO
      text "Screen Tone Mapping:"
      cvar "r_toneMap"
      rect SCONTENT_X (SCONTENT_Y+(6*ELEM_H)) SCONTENT_W ELEM_H
      textalign ALIGN_RIGHT
      textvalign VALIGN_CENTER
      textalignx SCONTENT_OFF
      textscale .25
      forecolor 1 1 1 1
      visible MENU_TRUE
      action
      {
        play "sound/misc/menu1.wav";
      }
    }
	
	itemDef
    {
      name gl2options
      group optionsGrp
      type ITEM_TYPE_YESNO
      text "Specular Surface Lighting:"
      cvar "r_specularMapping"
      rect SCONTENT_X (SCONTENT_Y+(7*ELEM_H)) SCONTENT_W ELEM_H
      textalign ALIGN_RIGHT
      textvalign VALIGN_CENTER
      textalignx SCONTENT_OFF
      textscale .25
      forecolor 1 1 1 1
      visible MENU_TRUE
      action
      {
        play "sound/misc/menu1.wav";
		exec "vid_restart"
      }
    }
	
	itemDef
    {
      name gl2options
      group optionsGrp
      type ITEM_TYPE_MULTI
      text "Parallax Height Maps:"
      cvar "r_parallaxMapping"
      
      cvarFloatList { "No" 0 "Use Parallax Occlusion" 1 "Use Relief (Slower)" 2 }
      rect SCONTENT_X (SCONTENT_Y+(8*ELEM_H)) SCONTENT_W ELEM_H
      textalign ALIGN_RIGHT
      textvalign VALIGN_CENTER
      textalignx SCONTENT_OFF
      textscale .25
      forecolor 1 1 1 1
      visible MENU_FALSE
      action
      {
        play "sound/misc/menu1.wav";
        exec "vid_restart"
      }
    }
	
	itemDef
    {
      name gl2options
      group optionsGrp
      type ITEM_TYPE_YESNO
      text "Cube mapped environments:"
      cvar "r_cubeMapping"
      rect SCONTENT_X (SCONTENT_Y+(9*ELEM_H)) SCONTENT_W ELEM_H
      textalign ALIGN_RIGHT
      textvalign VALIGN_CENTER
      textalignx SCONTENT_OFF
      textscale .25
      forecolor 1 1 1 1
      visible MENU_TRUE
      action
      {
        play "sound/misc/menu1.wav";
		exec "vid_restart"
      }
    }
	
	itemDef
    {
      name gl2options
      group optionsGrp
      type ITEM_TYPE_YESNO
      text "Draw Sun Rays:"
      cvar "r_drawSunRays"
      rect SCONTENT_X (SCONTENT_Y+(10*ELEM_H)) SCONTENT_W ELEM_H
      textalign ALIGN_RIGHT

      textvalign VALIGN_CENTER
      textalignx SCONTENT_OFF
      textscale .25
      forecolor 1 1 1 1
      visible MENU_TRUE
      action
      {
        play "sound/misc/menu1.wav";
		exec "vid_restart"
      }
    }
	
	itemDef
    {
      name gl2options
      group optionsGrp
      type ITEM_TYPE_YESNO
      text "Draw Sun:"
      cvar "r_drawSun"
      rect SCONTENT_X (SCONTENT_Y+(11*ELEM_H)) SCONTENT_W ELEM_H
      textalign ALIGN_RIGHT
      textvalign VALIGN_CENTER
      textalignx SCONTENT_OFF
      textscale .25
      forecolor 1 1 1 1
      visible MENU_TRUE
      action
      {
        play "sound/misc/menu1.wav";
		exec "vid_restart"
      }
    }
	
	itemDef
    {
      name gl2options
      group optionsGrp
      type ITEM_TYPE_YESNO
      text "Sun Shadows:"
      cvar "r_sunShadows"
      rect SCONTENT_X (SCONTENT_Y+(12*ELEM_H)) SCONTENT_W ELEM_H
      textalign ALIGN_RIGHT
      textvalign VALIGN_CENTER
      textalignx SCONTENT_OFF
      textscale .25
      forecolor 1 1 1 1
      visible MENU_TRUE
      action
      {
        play "sound/misc/menu1.wav";
		exec "vid_restart"
      }
    }
	
	itemDef
    {
      name gl2options
      group optionsGrp
      type ITEM_TYPE_MULTI
      text "Sunlight Mode:"
      cvar "r_sunlightMode"
      
      cvarFloatList { "None" 0 "Multiply (Good Quality)" 1 "Add (Best Quality)" 2 }
      rect SCONTENT_X (SCONTENT_Y+(13*ELEM_H)) SCONTENT_W ELEM_H
      textalign ALIGN_RIGHT
      textvalign VALIGN_CENTER
      textalignx SCONTENT_OFF
      textscale .25
      forecolor 1 1 1 1
      visible MENU_FALSE
      action
      {
        play "sound/misc/menu1.wav";
        exec "vid_restart"
      }
    }
	
	itemDef
    {
      name gl2options
      group optionsGrp
      type ITEM_TYPE_MULTI
      text "Dynamic Lights Mode:"
      cvar "r_dlightMode"
      
      cvarFloatList { "Off" 0 "Lighting, No Shadows" 1 "Light & Shadows" 2 }
      rect SCONTENT_X (SCONTENT_Y+(14*ELEM_H)) SCONTENT_W ELEM_H
      textalign ALIGN_RIGHT
      textvalign VALIGN_CENTER
      textalignx SCONTENT_OFF
      textscale .25
      forecolor 1 1 1 1
      visible MENU_FALSE
      action
      {
        play "sound/misc/menu1.wav";
        exec "vid_restart"
      }
    }
@wtfbbqhax wtfbbqhax changed the title Create a New Main Menu Render Menu with Detailed Options. Create a new "Render" menu with detailed options Oct 18, 2017
@wtfbbqhax wtfbbqhax self-assigned this Oct 18, 2017
@redrumrobot
Copy link
Member

redrumrobot commented Oct 2, 2018

Current alpha client version includes OpenGL2 options specific to the renderer. everything else is in "GFX hardware" and "GFX software". closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants