Questions tagged [render]

Rendering is the process of generating an image from a model (or models in what collectively could be called a scene file), by means of computer programs.

A scene file contains objects in a strictly defined language or data structure; it would contain geometry, viewpoint, texture, lighting, and shading information as a description of the virtual scene

5211 questions
39
votes
3 answers

Render GSP view as compact html file

I have gsp view files wherein tags are formatted for readability with whitespaces. I am expected to remove those so that the rendered html file is compact. So, is there a way in grails using plugin or any other means that I can tell grails to remove…
Sumit Shrestha
  • 919
  • 2
  • 8
  • 20
38
votes
3 answers

What's causing this excessive "Composite Layers", "Recalculate Style" and "Update Layer Tree" cycle?

I am very intrigued by the excessive number of "composite layers", "recalculate style" and then "update layer tree" events in one of our webapps. I'm wondering what's causing them here. If you point your Chrome to one of our fast moving streams,…
37
votes
4 answers

ruby on rails how to render a page without layout and other head field

else respond_to do |format| format.html { render "tabelle/show" } end end I want to render the page ...with only the code in that page....not add ...layout and field in ruby on rails. I only want to show the result of code…
mewosic
  • 465
  • 2
  • 7
  • 11
36
votes
5 answers

rails:3 Devise signup Filter chain halted as :require_no_authentication rendered or redirected

I am using Devise in my site I create admin namespace and giving functionality of create user by admin. my routes are as under devise_for :users,:has_many => :comments, :controllers => {:sessions =>'devise/sessions',:registrations =>…
urjit on rails
  • 1,763
  • 4
  • 19
  • 36
34
votes
11 answers

How to render Twig template from database in symfony2

I'm working on application written in symfony2 and I want to send email after some action/event... the problem is, that the users can define something like "email templates" which are stores in db like simple string, for example: "This is some email…
Karol F
  • 1,556
  • 2
  • 18
  • 33
33
votes
2 answers

Rails render head vs. status

What's the difference between render head :ok vs. render status :ok in Rails? They both get returned as the header right?
stackjlei
  • 9,485
  • 18
  • 65
  • 113
32
votes
1 answer

How to open and render SVG files in .NET environment?

Are there any relatively easy ways to deal with SVG images in .NET? How to extract all graphic primitives from file. How to render a SVG file to memory buffer (with transparency) P.S. I'm using SFML as a graphic outputting engine.
Ruslan
  • 2,678
  • 3
  • 22
  • 25
32
votes
16 answers

how to solve render problem Path.op() not supported?

How to solve this error: Render problem Path.op() not supported I tried to force refresh layout, restart, update Android Studio, stop antivirus for a while, but the problem is still there. Surprisingly I am able to compile and run the app, but how…
Eng. Samer T
  • 6,465
  • 6
  • 36
  • 43
29
votes
3 answers

How to draw a QR code with Qt in native C/C++

QR in Qt As a companion question to How to scan for QR codes with Qt, I want to know how to draw a QR code from native C/C++ code in my Qt5 based desktop app, but I could not find an example of how to do this. I know QtQR exists, but it has…
Mr. Developerdude
  • 9,118
  • 10
  • 57
  • 95
28
votes
2 answers

Detecting a system window overlaying an iframe

After looking at this youtube video I was curious how some of the features shown, can be implemented with JS. One of my major questions is how can one detect another system window (like the word window, shown in the video) on the iframe. On another…
Roni Gadot
  • 437
  • 2
  • 19
  • 30
28
votes
6 answers

Antialiasing not working in Three.js

I am new to three.js and have starting working with it a lot recently. I really enjoy it and I have created some incredible things. However, I'm unsure why but when setting antialiasing to true I see no difference. renderer = new…
zaidi92
  • 355
  • 1
  • 3
  • 11
28
votes
4 answers

Rails: Pass parameters with render :action?

I have a form that displays differently depending on the parameter it was called with. Ex. testsite.local/users/new?type=client So if type was a or b, the form would display different fields. My problem is when the form is filled out incorrectly,…
neezer
  • 19,720
  • 33
  • 121
  • 220
28
votes
3 answers

how to render partial on everything except a certain action

I have a _header.html.erb partial which is where I put my navbar on my launch page I don't want to display the navbar. this is the body of application.html.erb <%= render 'layouts/header' %>
<%= yield…
Nick Ginanto
  • 31,090
  • 47
  • 134
  • 244
27
votes
3 answers

Vue - How to render HTML in vue components

This is what I'm trying to accomplish: {{ span('Hello') }} And what desired output should be is: Hello Is this possible? Thanks
Kevin Gorjan
  • 1,272
  • 1
  • 17
  • 34
24
votes
4 answers

Render blocking defer vs moving script at bottom

I assume moving script at bottom is same as using defer or async attribute. Since defer and async are not fully legacy browser compliant, I gone with loading script at the bottom of the page.
Parag Diwan
  • 3,007
  • 2
  • 19
  • 37